Created
May 17, 2021 22:59
-
-
Save jeanqasaur/3707a86ed7e7776d24e349bf73600f0e to your computer and use it in GitHub Desktop.
CURL request for adding to TODOs
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
curl --location --request POST 'localhost:30123/todos' \ | |
--header 'Content-Type: application/json' \ | |
--data-raw '{ | |
"name": "Write an API Spec for this", | |
"description": "API specs are nice but they are a pain to write..." | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment