Developer Tool

API TESTER

Test and debug REST APIs in your browser. Send GET, POST, PUT, PATCH, DELETE requests with custom headers, query params, body, auth presets, and code generation. Free, no sign-up.

Authentication
Query Parameters
Headers
Body
Response Headers
Click Send or press Ctrl+Enter to make a request

Frequently Asked Questions

How do I use the API tester?
Select an HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS), enter a URL, add optional headers and body, then click Send or press Ctrl+Enter. The response status, headers, and body are displayed below.
What HTTP methods are supported?
GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS. The body section is hidden for GET and HEAD requests since they don't support request bodies.
How do auth presets work?
Open the Authentication section and select Basic Auth, Bearer Token, or API Key. Fill in the credentials and they automatically populate the Authorization header. Switch back to None to remove auth headers.
How do I save and reload requests?
Click the Save button next to Send to save the current request with a name. Switch to the Saved tab to browse, load, or delete saved requests. You can also Export all as JSON and Import collections.
Can I generate code from my request?
Yes. Click the Code button next to Send to open the code snippet generator. Choose from cURL, Python (requests), or JavaScript (fetch). Copy the generated code with one click.
How do I add custom headers?
Click the + Add Header button below the Headers section. Enter the header name (e.g., Authorization) and value (e.g., Bearer token). Default headers Content-Type and Accept are pre-filled.
What request body types are supported?
JSON (auto-formatted), Form Data (key-value pairs converted to URL-encoded format), Text (raw text), and None (no body). Select the type from the Body dropdown.
How do I add query parameters?
Open the Query Parameters section. Add key-value pairs and they are automatically appended to the URL.
Is there a request history?
Yes. Switch to the History tab to see past requests with method, URL, status, and response time. Click any entry to replay it. History is stored in your browser (localStorage) and persists across sessions.
How do I export the current request as a cURL command?
Click the cURL button in the response toolbar to copy the current request as a cURL command to your clipboard.

How to Use

01

Enter Request Details

Select HTTP method from the dropdown. Enter the full API URL. Add optional auth, query params, headers, and body.

02

Use Auth Presets

Open Authentication section. Choose Basic Auth (username/password), Bearer Token, or API Key. Credentials auto-fill the Authorization header.

03

Send & Inspect

Click Send or press Ctrl+Enter. View color-coded status, timing, size, response headers, and formatted body. Toggle Raw/Pretty view.

04

Save & Reuse

Click Save to store requests in a collection. Browse them in the Saved tab, reload, or export/import as JSON files.

05

Generate Code

Click the Code button to generate cURL, Python (requests), or JavaScript (fetch) snippets. Copy with one click.

How to Calculate

Making Requests: The API tester uses the browser's Fetch API. Select a method, enter a URL, add headers/body, and press Send or Ctrl+Enter.

Authentication: Use the Auth section for Basic Auth (Base64-encoded), Bearer Token, or API Key headers. Auth headers are automatically synced with the Headers section.

Saved Collections: Save requests with custom names. Browse, load, or delete saved requests from the Saved tab. Export all as JSON or import collections from a file.

Code Generation: Generate cURL, Python (requests library), or JavaScript (fetch API) code snippets from the current request.

Response Analysis: Color-coded status codes (2xx green, 3xx blue, 4xx orange, 5xx red), response time, size, and headers.

About the API Tester

This API Tester is a full-featured browser-based REST API client for developers. All requests are sent directly from your browser using the Fetch API with no server-side proxy or data logging.

Features: 7 HTTP methods, auth presets (Basic, Bearer, API Key), query parameters, custom headers, 4 body types, saved collections with export/import, code generation (cURL/Python/JavaScript), request history, color-coded status, response timing, size tracking, response headers viewer, raw/pretty formatting.

Privacy: All requests go directly from your browser to the target API. Your data is never sent to our servers. History and saved collections are stored only in localStorage.

Limitations: Browser CORS policies may block cross-origin requests. For APIs behind CORS, consider a desktop client like Postman. The tool is intended for testing public APIs and development endpoints.