Created
March 17, 2018 18:44
-
-
Save Kelin2025/d2afba064e28498db7bdbb5410a38e22 to your computer and use it in GitHub Desktop.
Apicase async/await
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
const { success, result } = await doRequest({ url: '/api/posts' }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment