custom-header tagged requests and articles

Categorized request examples and articles tagged with [custom-header] keyword
How to send HTTP header with Curl request?
To send an HTTP header with a Curl request, you can use the -H command-line option and pass the header name and value in "Key: Value" format. If you do not provide a value for the header, this will remove the standard header that Curl would otherwise send. The number of HTTP headers is unlimited. You can add as many headers to the Curl request as you need. In this Curl header example, we send the X-Custom-Header and Content-Type request headers to the ReqBin echo URL. Click Run to execute the Curl Send Header Request online and see the results.

How do I send GET Request with Custom Headers?
To send a GET request with custom HTTP headers, you must provide custom headers in the "Name: Value" format, just like the standard HTTP headers. The format, number, and length of custom headers are unlimited. Custom headers are usually in the X-name form, but this is not required, and you can use your own format when sending custom HTTP headers to the server. In this GET Request with Custom Headers Example, we send a GET request to the ReqBin echo URL with additional data in the custom header. Click Send to execute the GET Request with Custom Headers example online and see the results.