http-request tagged requests and articles

Categorized request examples and articles tagged with [http-request] keyword
Send Custom Headers With GET Request
This page shows how to send a GET request with custom HTTP headers to the API endpoint. Try it yourself with ReqBin online HTTP Client.
http-headers http-request get-request custom-header request-header get-method

HTTP POST Request
An example of an HTTP POST request. The The 'Content-Type: application/json' request header indicates the POST request body media type. The 'Content-Type: application/json' response header informs the client that the server returned an JSON as a result of executing this POST request.
http-request post-request json post-method rest-api submit-data post-data

HTTP Request with Bearer Auth Credentials
This page shows how to make an HTTP request with a Bearer authentication credentials. Try it yourself with ReqBin online HTTP Client.
http-request bearer-token credentials get-request authorization

GET Request With Pragma Header
An example HTTP GET request with the custom 'Pragma: no-cache' header that tells the server and intermediate caches to provide a fresh version of the resource.
http-request get-request custom-header pragma pragma-header get-method get-html

HTTP Request with Basic Auth Credentials
This page shows how to make an HTTP request with Basic auth credentials. Try it yourself with ReqBin online HTTP Client.
http-request basic-auth credentials authorization get-request

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-method http-request delete-request

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-method http-request post-request post-example request-example

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-method http-request get-json get-xml get-request request-example get-example

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-method http-request put-request put-example

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-method http-request head-request request-example head-example

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-method http-request cors options-request

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-method http-request patch-request

Cross-Origin Resource Sharing (CORS)
Cross-Origin Resource Sharing (CORS) is a mechanism that provides secure communication between browsers and servers running on different origins (on different hostnames or protocols) using additional HTTP headers.
http-headers http-request cors

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

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-method trace-request http-request