Send Request to Server [Curl/Bash Code]

An example of sending a request to the server. In this Send Request to Server example, the Accept: */* request header tells the server that the client accepts any media type. The Content-Type: text/html response header informs the client that the server returned HTML. The Curl/Bash code was automatically generated for the Send Request Server example.
Send Request to Server [Curl/Bash Code] Send
GET /echo HTTP/1.1
Host: reqbin.com
Accept: */*

Updated: Viewed: 3130 times
Curl/Bash code for Send Request Server example

Curl/Bash code for Send Request Server Example

This Curl/Bash code snippet was generated automatically for the Send Request Server example.
<< Back to the Send Request Server example

Generate code snippets for Curl/Bash and other programming languages

Convert your Send Request Server request to the PHP, JavaScript/AJAX, Curl/Bash, Python, Java, C#/.NET code snippets using the Curl/Bash code generator.