http-method tagged requests and articles

Categorized request examples and articles tagged with [http-method] keyword
HTTP DELETE Method
The HTTP DELETE method is used to delete a resource from the server. Unlike GET and HEAD requests, the DELETE requests may change the server state.

HTTP POST Request
The HTTP POST method is used to send data to the server. The type and size of data are not limited but you must specify the data type in the Content-Type header and the data size in the Content-Length header fields. The HTTP POST method is not idempotent, which means that sending an identical POST request multiple times may additionally affect the state or cause further side effects.

HTTP GET Request
The HTTP GET method is used to request a resource from the server. The GET requests cannot have a message body but you still can send data to the server using the URL parameters. HTTP GET requests should only receive data (the server must not change its state). If you want to change data on the server, use POST, PUT, PATCH or DELETE methods.

HTTP PUT Request
The HTTP PUT method is used to update an existing resource on the server, while the POST method creates or adds a resource on the server. The HTTP PUT method is defined as idempotent, which means that multiple identical PUT requests should have the same effect as a single request.

HTTP HEAD Request
The HTTP HEAD method is used to retrieve HTTP headers from the server. The server does not return the message body in the response.

HTTP OPTIONS Method
The HTTP OPTIONS method describes the communication options for the target resource. Browsers send the HTTP OPTIONS request to find out HTTP methods and other options supported by a web server as a 'preflight' request to send data to another domain.

HTTP PATCH Method
The HTTP PATCH method applies partial modifications to existing resources, unlike the HTTP PUT that performs a complete replacement of resources.

HTTP Methods
The HTTP method indicates the action that the request wants to perform on the requested resource.

HTTP TRACE Method
The HTTP TRACE method is used to debug web server connections by returning the full HTTP request to the client for proxy-debugging purposes.

HTTP Methods for CRUD Operations
The CRUD-based REST API maps CRUD operations to HTTP verbs in the following format: POST - create or add a resource, GET - request a resource, PUT - update an existing resource, PATCH - make partial changes and DELETE - delete a resource.