Close Connection Example [Curl/Bash Code]

This page shows you how to tell the server that the client does not want to leave the connection open. This is achieved by sending the Connection: close HTTP header. The Curl/Bash code was automatically generated for the Close Connection example.
Close Connection Example [Curl/Bash Code] Send
GET /echo HTTP/1.1
Host: reqbin.com
Connection: close

Updated: Viewed: 6093 times
Curl/Bash code for Close Connection example

Curl/Bash code for Close Connection Example

This Curl/Bash code snippet was generated automatically for the Close Connection example.
<< Back to the Close Connection example

Generate code snippets for Curl/Bash and other programming languages

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