Advertisement
Lola_D

Untitled

May 25th, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.88 KB | None | 0 0
  1. ### Get http-practice.herokuapp.com
  2. GET https://http-practice.herokuapp.com
  3.  
  4. ### Get wilders C#
  5. GET https://http-practice.herokuapp.com/wilders?language=PHP
  6.  
  7. ### Get wilders 100000
  8. GET https://http-practice.herokuapp.com/wilders?page=100000
  9.  
  10. ### Post new wilder URL-encoded
  11. POST https://http-practice.herokuapp.com/wilders
  12. Content-Type: application/x-www-form-urlencoded
  13.  
  14. name=Mary%20Grolsh&language=JavaScript
  15.  
  16. ### Post new wilder JSON
  17. POST https://http-practice.herokuapp.com/wilders
  18. Content-Type: application/json
  19.  
  20. {
  21.   "name": "Sam Ring",
  22.   "language": "PHP"
  23. }
  24.  
  25. ### Get wilder by ID
  26. GET https://http-practice.herokuapp.com/wilders/1963
  27.  
  28. ### Put wilder
  29. PUT https://http-practice.herokuapp.com/wilders/1966
  30. Content-Type: application/x-www-form-urlencoded
  31.  
  32. name=Mary%20Grolsh&language=PHP
  33.  
  34. ### DELETE wilder
  35. DELETE https://http-practice.herokuapp.com/wilders/1963
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement