---
title: "Answer after a wait"
method: GET
path: "/http/delay/{ms}"
tags: ["HTTP"]
---

# Answer after a wait

`GET /http/delay/{ms}`

## Request

- Base URL: `https://gorest.co.in/public/v3`
- URL: `https://gorest.co.in/public/v3/http/delay/{ms}`
- Auth: one of:
  - none
  - HTTP bearer

For testing loading states and timeouts. The wait stops early when the client goes away. When too many waits run at once the answer is 503 with `Retry-After`.

## Response `200`

The wait is over.

- HttpDelay
  - `delay_ms` integer, required

## Other responses

- `400`: A parameter is wrong, unknown or out of range.
- `401`: No token, or the token is wrong, expired or revoked.
- `429`: Over the rate limit; wait `Retry-After` seconds.
- `500`: Something failed on the server.
- `503`: The API cannot answer right now; wait `Retry-After` seconds.

---

[API](https://skmtc.dev/gorest/apis/gorest-api-v3.md) - [All operations](https://skmtc.dev/gorest/apis/gorest-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/gorest/apis/gorest-api-v3/revisions/89aa429755a6?raw)
