-
Notifications
You must be signed in to change notification settings - Fork 1
http
Christopher P. Brown edited this page Jan 25, 2022
·
3 revisions
hypertext transfer protocol
- GET: fetch a resource
- PUT: create or replace a resource
- POST: create a new resource only (fails if the resource exists)
- PATCH: partial update of a resource
- DELETE: destroy a resource
- OPTIONS: show what methods are available for a resource
- HEAD: just fetch the headers for a resource
Q: What's the difference between PUT and POST
A: PUT is idempotent. POST is not.
- Informational responses (100–199)
- Successful responses (200–299)
- Redirects (300–399)
- Client errors (400–499)
- Server errors (500–599)
- https://github.com/liyasthomas/postwoman - an open source postman clone
- httpbin.org - A simple HTTP Request & Response Service.