Mock de respuesta HTTP para flujos web rápidos y compatibles con móvil. Inspirada en pascalwengerter/awesome-webtools e integrada como página nativa de ToolNext con SEO, FAQ y diseño responsive. Disponible en ToolNext — la caja de herramientas online gratuita.
Generate status, delay, and body snippets for frontend response testing.
Enter Status code, results update automatically
Enter Delay ms, results update automatically
Enter Response body, results update automatically
HTTP 503 Service Unavailable
Class: server error
Simulated delay: 1200ms
Headers:
Content-Type: application/json
Cache-Control: no-cache
Retry-After: 30
Body:
{"error":"maintenance"}
✓ Body is valid JSON
Curl mock command:
curl -X GET http://localhost:3000/api/mock \
-H "Accept: application/json" \
-w "\nStatus: %{http_code} (%{time_total}s)"
Fetch mock (1200ms delay):
const res = await fetch('/api/data')
const data = await res.json()