xxxxxxxxxx
HTTP request methods
-GET
-POST
-PUT
-PATCH
-DELETE
-HEAD = asks for a response identical to a GET request, but without the response body.
-OPTIONS = describes the communication options for the target resource.
-TRACE = performs a message loop-back test along the path to the target resource.
-CONNECT = establishes a tunnel to the server identified by the target resource.
xxxxxxxxxx
REST API Methods
Method = Description
GET = Retrieve information about the REST API resource
POST = Create a REST API resource
PUT = Update a REST API resource
DELETE = Delete a REST API resource or related component
xxxxxxxxxx
@BASE_URL =http://localhost:3001/api
GET {{BASE_URL}}
###
GET {{BASE_URL}}/users
###
GET {{BASE_URL}}/users/555
###
POST {{BASE_URL}}/users
Content-Type: application/json
{
"name":"yunus",
"age":"43",
"email":"yunus@gmail.Content-MD5: ",
"userName":"yunusoviç",
"sifre":"123213"
}