Curl Command With Close Connection Header [JavaScript/AJAX Code]

This example shows how to send a Curl request to the server and indicate that the client does not want to keep the connection open by sending the Connection: close header. The header is passed with the curl -H command-line option. The JavaScript/AJAX code was automatically generated for the Curl Close Connection Header example.
Loading...