Please enable JavaScript.
Coggle requires JavaScript to display documents.
REST REpresentational State Transfer - Coggle Diagram
REST
REpresentational State Transfer
HTTP Methods
GET: Retrieve information
Request Body : Optional
Response Body :check:
POST: Create Resource
Request Body : :check:
Response Body :check:
PUT: Update
Request Body : :check:
Response Body :check:
PATCH: Partial Update
Request Body : :check:
Response Body :check:
DELETE: Delete Resource
Request Body :red_cross:
Response Body :check:
OPTIONS: Get Allowed Methods
Request Body : :check:
Response Body :check:
HEAD: Retrieve Headers
Request Body :red_cross:
Response Body :red_cross:
Reference :
https://restfulapi.net/http-methods/
Idempotent - Idempotency is a property of HTTP methods.
A request method is considered idempotent if the intended effect on the server of multiple identical requests with that method is the same as the effect for a single such reques
Idempotent Methods
GET
PUT
DELETE
HEAD
OPTIONS
Non - Idempotent Methods
POST
PATCH - Depends on Implementation
SAFE Methods : Methods do not modify resources
GET
HEAD
OPTIONS
Status Codes / Response Codes
https://httpstatuses.com/
Parameters
Query Parameters
Used to filter the resources by passing some conditions
URI Parameters
To Fetch Resources based on Unique Identifier