GET Request With Custom Headers [Curl/Bash Code]

To send a GET request with a custom header name, you need to use the X-Real-IP header, which defines the client's IP address. For a load balancer service, "client" is the last remote host. Your load balancer intercepts traffic between the client and your server. This way, your server's access logs only include the IP address of the load balancer. In this GET Request with Custom Headers Example, we send a GET request to the ReqBin echo URL with the value is 39.40.130.50. Click Send to execute the GET Request with Custom Headers online and see the results. The Curl/Bash code was automatically generated for the GET Request Custom Headers example.
Loading...