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. Post a JSON string to an API endpoint. Try it yourself with ReqBin online HTTP Client.
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

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

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 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 Method
The HTTP POST method is used to create or add a resource on the server.
http-method http-request post-request

HTTP GET Method
The HTTP GET method is used to retrieve a resource from the server. The GET request is idempotent and safe.
http-method http-request get-json get-xml get-request

HTTP PUT Method
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.
http-method http-request put-request

HTTP HEAD Method
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

HTTP OPTIONS Method
The HTTP OPTIONS method describes the communication options for the target resource. Browsers use OPTIONS 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