Created
December 16, 2019 12:13
-
-
Save anoobbava/490249a566dac5e9dc7ec4c34ee581ae to your computer and use it in GitHub Desktop.
This file contains 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
async todo (todoData) { | |
const response = await axios.post('todos', todoData) | |
return response.data | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment