</>

WebDevTools

Test APIs

Documentation of APIs available to test your API Testing tool

WebDevTools offers public APIs for you to practice HTTP requests. Use the API Testing tool to try them out.

Usage limits & security

  • 60 requests/min per IP on most endpoints (headers X-RateLimit-*)
  • 25 requests/min on /api/delay (prevents long-running abuse)
  • POST/PUT/PATCH bodies up to 100KB
  • Only GET, POST, PUT, PATCH, DELETE and HEAD are allowed
Mock & Echo
GET / POST
/api/mock

Mock API

Echo API to test requests. GET returns fixed text; POST returns the body sent. Useful for validating request/response flows.

Parameters: Delay in ms before response (simulates latency)

GET / POST
/api/headers

Headers Echo

Returns request headers as JSON. Use to verify headers are being sent correctly.

Status & Errors
GET
/api/status/[code]

Status Codes

Returns the requested HTTP status. Useful for testing error handling in the frontend.

Parameters: code — Any code listed in the HTTP Status tool (100, 101, 200–503). 1xx returns HTTP 200 with the status in JSON; 204 and 304 have no body.

GET
/api/auth/verify

Auth Verify

Simulates token verification. Returns 401 without Bearer token; 200 with valid token.

Request Info
GET
/api/info

Request Info

Returns IP, user-agent, method and request data. Useful for proxy, CORS debugging, etc.

Data Generation
GET
/api/users

Users API

Returns fake users generated with @faker-js/faker. Useful for mocking data in prototypes and tests.

Parameters: limit, fields (fullName, firstName, lastName, middleName, prefix, suffix, bio, jobTitle, jobArea, jobDescriptor, jobType, gender, sex, zodiacSign), delay

GET
/api/uuid

UUID

Generates a UUID v4. Useful for mocking IDs in prototypes.

GET
/api/lorem

Lorem Ipsum

Returns random text for placeholders. Use paragraphs or words.

Parameters: paragraphs — Number of paragraphs (default: 1) | words — Number of words

GET
/api/posts

Posts

Returns fake posts (JSONPlaceholder style). Supports listing and item by ID.

Parameters: limit — Amount (default: 10) | delay — Delay in ms

Utilities
GET
/api/delay/[ms]

Delay

Responds after delay in ms (max 30s). Use to test loading, timeouts and retry.

Parameters: ms — Delay in ms (0-30000)

Use the API Testing tool to make requests to these APIs.

Open API Testing

Guide: explore the interactive demo API

OpenAPI docs click when you fire real routes and see request/response schemas. This section exposes a demo API to practice methods, status codes, and simulated auth.

Test calls go from your browser to the demo backend — do not use real credentials. It teaches REST contracts, cursor pagination, and standard errors before you wire your own service.

Use for developer onboarding, workshops, or to see how WebDevTools HTTP client sets headers. Copy path and query examples into automated tests.

Step by step

  1. Browse resourcesExpand tags (users, posts, etc.) and read required params, types, and sample bodies.
  2. Execute an operationFill path params and sample JSON body. Watch returned status and response schema.
  3. Compare to OpenAPIConfirm enums, `date-time` formats, and arrays match what your SDK would emit.
  4. Apply in your stackMentally export curl or use the cURL converter to generate fetch/axios in your codebase.

Frequently asked questions