HTTPレスポンスモック。モバイル対応の軽量なWebワークフロー用ツールです. pascalwengerter/awesome-webtools に着想を得て、SEO、FAQ、レスポンシブ表示に対応したToolNextネイティブページとして実装しています。 ToolNextの無料オンラインツールとして提供されています。
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()