Created
February 12, 2020 14:28
-
-
Save bastienapp/20948a8f2ec7ffa3f0ab4ea4d4f91570 to your computer and use it in GitHub Desktop.
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
### get all wilders | |
GET https://http-practice.herokuapp.com/wilders | |
### get wilder for JavaScript, page 10 | |
GET https://http-practice.herokuapp.com/wilders?language=JavaScript&page=10 | |
### create wilder from url-encoded | |
POST https://http-practice.herokuapp.com/wilders | |
Content-Type: application/x-www-form-urlencoded | |
name=Scarlett%20Johansson&language=JavaScript | |
### create wilder from json | |
POST https://http-practice.herokuapp.com/wilders | |
Content-Type: application/json | |
{ | |
"name": "Jake Gyllenhaal", | |
"language": "C#" | |
} | |
### get wilder | |
GET https://http-practice.herokuapp.com/wilders/1796 | |
### update wilder | |
PUT https://http-practice.herokuapp.com/wilders/1796 | |
Content-Type: application/json | |
{ | |
"language": "Java" | |
} | |
### delete wilder | |
DELETE https://http-practice.herokuapp.com/wilders/1796 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment