</>

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.

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 — Status code (200, 201, 400, 401, 403, 404, 500, etc.)

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