API Tools

Client-side API payload builder, cURL converter, HTTP headers inspector, and status code reference.

100% Private In-Browser Processing (Zero Server Telemetry)
TARGET SYNTAX
cURL Command 1 line
GET api.example.com 0 headers No payload
Converted Code JavaScript (Fetch)
Client-side in-browser generation 0 chars

HTTP Request & Response Headers Reference

Standardized RFC headers used for authentication, caching, MIME types, and CORS security.

Header Name Type Example Syntax RFC Description & Usage
Authorization Request Bearer <token> Carries client authentication credentials (JWT, OAuth bearer tokens, or Base64 basic auth).
Content-Type Both application/json; charset=utf-8 Indicates the MIME media type of the transmitted resource payload.
Accept Request application/json, text/plain, */* Advertises which content types the client is capable of understanding in response.
Access-Control-Allow-Origin Response * or https://example.com Specifies origins permitted to access resource via browser CORS requests.
Access-Control-Allow-Headers Response Content-Type, Authorization, X-Requested-With Used in preflight OPTIONS responses to permit custom client request headers.
Cache-Control Both no-cache, no-store, must-revalidate Directives for caching mechanisms in both browsers and shared proxies.
ETag Response "33a64df551425fcc55e4d42a148795d9f25f89d4" Unique identifier assigned by web server to a specific version of a resource.
If-None-Match Request "33a64df551425fcc55e4d42a148795d9f25f89d4" Makes request conditional: server responds with 304 Not Modified if ETag matches.
Cookie Request sessionId=38afes7a8; theme=dark Contains stored HTTP cookies previously sent by the server with Set-Cookie.
Origin Request https://formatkit.com Indicates where a fetch, CORS, or POST request originates from.
User-Agent Request Mozilla/5.0 (Windows NT 10.0; Win64; x64)... Identifies the client software application and platform initiating request.

HTTP Status Code Quick Reference

Official RFC standard HTTP response status codes categorized with common meanings and developer tips.

200 OK

Standard response for successful HTTP requests with payload.

201 Created

Resource created successfully following a POST request.

202 Accepted

Request accepted for processing, but processing is not completed.

204 No Content

Request succeeded, but payload response body is empty.

301 Moved

Resource moved permanently to Location header URL.

302 Found

Temporary redirection to another URI.

304 Not Modified

Resource has not been modified since ETag/Last-Modified.

307 Temp Redirect

Redirect with guaranteed same HTTP method preserved.

400 Bad Request

Malformed JSON syntax or invalid client parameters.

401 Unauthorized

Authentication credentials missing or invalid token.

403 Forbidden

Authenticated client lacks permission for endpoint.

404 Not Found

The requested endpoint URI does not exist.

405 Not Allowed

HTTP method (e.g. POST) not supported by endpoint.

409 Conflict

Request conflicts with server state (e.g. duplicate key).

422 Unprocessable

Semantic validation failed for request payload fields.

429 Rate Limited

Rate limit exceeded. Check Retry-After response header.

500 Server Error

Server encountered an unhandled exception or crash.

502 Bad Gateway

Invalid response received from upstream backend server.

503 Unavailable

Server temporarily overloaded or down for maintenance.

504 Gateway Timeout

Upstream server failed to respond within gateway timeout.

API Workbench 100% In-Browser

Mock REST API & HTTP Endpoint Testing Studio

Construct, test, and debug HTTP requests directly from your browser. Send GET, POST, PUT, PATCH, and DELETE requests, configure custom headers, inspect HTTP status codes, measure round-trip response latency, and format returned JSON payloads with zero software installation required.

Key Capabilities & Highlights

Full HTTP Method Support

Supports GET, POST, PUT, PATCH, DELETE, and OPTIONS requests.

Custom Request Headers

Add Authorization Bearer tokens, API keys, and custom Content-Type headers.

Latency & Response Metrics

Measures round-trip response time (ms), status codes (200, 404, 500), and payload size.

Auto-Formatted Response

Automatically formats and highlights JSON responses with one-click copy.

How to Use API Tools

1
Enter Endpoint URL Select an HTTP method (GET, POST, etc.) and type your API endpoint URL.
2
Add Headers & Body Configure Bearer auth tokens or paste your JSON request payload into the Body tab.
3
Send Request Click "Send Request" to dispatch the HTTP call directly from your browser.
4
Inspect Response View the status code, response headers, latency, and beautified response JSON.
Developer Pro Tip If you encounter CORS errors, ensure your API server includes the Access-Control-Allow-Origin header for browser requests.

Frequently Asked Questions

6 Answers

FormatKit API Studio runs directly in your browser with zero installation, zero account login, and instant access. It is optimized for quick endpoint tests and JSON inspection.

Browsers enforce Cross-Origin Resource Sharing (CORS) security rules. If your target API endpoint does not allow requests from web origins, the browser blocks access. Configure CORS headers on your API server to enable testing.

Never. Requests are dispatched directly from your browser using the fetch API. Your credentials and tokens are never captured or logged.

Yes! Because the request originates from your local browser, you can directly test localhost API servers running on your development machine.

No, absolutely not. All tool processing on FormatKit happens 100% client-side in your local browser using JavaScript. Your JSON, JWT tokens, SQL queries, and passwords are never transmitted over the internet to our servers or stored in any database.

Yes! All utilities on FormatKit are completely free to use for both personal and commercial software development projects with no restrictions or registration required.