Created
October 27, 2020 06:02
-
-
Save ff6347/16dfdb06f83cf844a5c356bec28a358a to your computer and use it in GitHub Desktop.
Nerdy Weeks - Ex "The Real Deal" HTTP Requests for VSCode REST
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
### See https://github.com/Huachao/vscode-restclient | |
### for some deeper insight | |
GET http://localhost:3000?foo=bah | |
### | |
GET http://localhost:3000/healthcheck | |
### Cats | |
GET http://localhost:3000/cats | |
### Cat by id | |
GET http://localhost:3000/cats/1 | |
### moods of cat | |
GET http://localhost:3000/cats/1/moods | |
### POST Cats | |
POST http://localhost:3000/cats | |
Content-Type: application/json | |
{ | |
"name": "Mister Snugglesworth", | |
"catchPhrase": "Meooww. Snuggle me" | |
} | |
### POST Mood to Cat by Id | |
POST http://localhost:3000/cats/1/moods | |
Content-Type: application/json | |
{ | |
"name": "grumpy" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment