Simulate a slow API

Add a fixed delay to test loading states, spinners, and timeout handling.

When to use this

A snappy localhost hides slow-network bugs. Give a mock a 3-second delay and watch how your UI behaves while it waits — and whether your client gives up at the right time.

Create the mock

curl -X POST https://quickmock.dev/api/mocks \
  -H 'Content-Type: application/json' \
  -d '{
  "method": "GET",
  "response_body": "{\"ok\":true}",
  "response_delay_ms": 3000
}'

Call it

curl https://quickmock.dev/m/<slug>

What you get

the response arrives after ~3 seconds

Build your own

Create a mock

← All guides