Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### GET ipify.org (no parameter)
- GET https://api.ipify.org/
- ### GET ipify.org (format as JSON)
- GET https://api.ipify.org/?format=json
- ### GET image svg
- GET https://upload.wikimedia.org/wikipedia/commons/2/20/UnderCon_icon.svg
- ### GET premiere page web
- GET https://www.w3.org/History/19921103-hypertext/hypertext/WWW/TheProject.html
- ### GET info API wild
- GET https://http-practice.herokuapp.com/status
- ### GET info API wild AVEC entête de requête
- GET https://http-practice.herokuapp.com/status
- Accept: application/json
- ### GET info wilder api
- GET https://http-practice.herokuapp.com/wilders
- ### GET info wilder api avec parametre
- GET https://http-practice.herokuapp.com/wilders?language=C%23&language=PHP
- ### GET info wilder trop plein
- GET https://http-practice.herokuapp.com/wilders?page=99999999999999999
- ### POST envoie en url encoded
- POST https://http-practice.herokuapp.com/wilders
- Content-Type: application/x-www-form-urlencoded
- name=John%20Doe&language=C%23
- ### POST envoie en json
- POST https://http-practice.herokuapp.com/wilders
- Content-Type: application/json
- {
- "name": "Jane Smith",
- "language": "JavaScript"
- }
- ### GET avec id
- GET https://http-practice.herokuapp.com/wilders/1854
- ### GET avec id trop haut
- GET https://http-practice.herokuapp.com/wilders/9999999999
- ### PUT pour mettre à jour
- PUT https://http-practice.herokuapp.com/wilders/1853
- Content-Type: application/json
- {
- "name": "Jean sebastien de la mouhla",
- "language": "C#"
- }
- ### DELETE
- DELETE https://http-practice.herokuapp.com/wilders/1854
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement