Created
March 17, 2018 18:42
-
-
Save Kelin2025/5288599d5efd13dbed06a75173b9f5ce to your computer and use it in GitHub Desktop.
Apicase request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doRequest({ url: '/api/posts' }) | |
.on('done', res => console.log(res)) | |
.on('fail', res => console.warn(res)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment