Endpoint

GET/utilities/delay?q={seconds}

Delays the response by the number of seconds given in q. Fractional values are supported.

Parameters

Parameter Accepted values Description
q 0–30 Standard delay range, in seconds.
q 300 or 600 Special values for extended timeout testing, at 5 and 10 minutes.
q Fractional Values such as 0.5 or 1.5 are accepted within the standard range.

Usage examples

Three-second delay
curl https://your-service.edgecompute.app/utilities/delay?q=3
Fractional delay
curl https://your-service.edgecompute.app/utilities/delay?q=1.5
Maximum standard delay
curl https://your-service.edgecompute.app/utilities/delay?q=30
Extended timeout, five minutes
curl https://your-service.edgecompute.app/utilities/delay?q=300

Response format

{
  "delay": 3,
  "message": "Response delayed by 3 seconds"
}

Notes

Extended delays hold a connection open for the full duration. Use q=300 and q=600 deliberately, and avoid leaving them running against a shared environment.

  • Standard delays are limited to 0–30 seconds.
  • Values outside the accepted set return 400 Bad Request.
  • Responses are sent with Cache-Control: no-cache.

Ready to test?

Start with a short delay, then work up to the timeout values.

Try a 2-second delay