wait-api ======== sleeps for a given number of milliseconds then returns 200 ROUTES: Method | Path | Description ------ | ----------- | ------------------------- GET | /api/wait | sleep then return 200 POST | /api/wait | sleep then return 200 GET | / | usage reference GET /api/wait ============= curl "http://localhost:1230/api/wait?wait=1000" curl -X POST http://localhost:1230/api/wait \ -H "Content-Type: application/json" \ -d '{ "wait": 1000 }' wait is the duration to sleep on the server before returning pass it as a query parameter, JSON field, or form field negative values and missing wait return 400 REQUEST FIELDS: Field | Type | Default ----- | ------ | ------- wait | number | - EXAMPLE RESPONSE: Returns HTTP 200 with an empty body after sleeping for the requested duration. ERROR RESPONSE: Returns HTTP 400 with an empty body when wait is missing or negative.