Keep-Alive Connection Example

This page shows how to establish a persistent connection with the server by sending 'Connection: keep-alive' header and indicate for how long we want to keep the connection open with 'Keep-Alive: timeout=5, max=100' header.
Loading...
ReqBin is an online API testing tool. Test your API by sending a REST, SOAP, or raw HTTP API requests from your browser, and check the server responses. Test server performance. Detect security issues in your code. Document API calls. Learn how HTTP works.