Skip to main content
Preparing workspace

API TESTER

Send GET, POST, PUT, PATCH and DELETE requests from your browser with headers, auth and JSON body; see status, time and headers, then copy as cURL.

Still loading. If the tool doesn’t appear, reload this page.

Planned features and workflows

About this tool

API TESTER

Build, send, and test API requests with ease.

To test an API online, enter the endpoint URL, pick the method, add headers, auth and a JSON body, and press Send: the response status, time, size, headers and formatted body appear below. Requests go straight from your browser, so the API must allow CORS; Copy as cURL runs the same call from a terminal.

How to use API TESTER

  1. Type the endpoint into the URL bar — it accepts {{variables}} — or load one of the sample requests in the top bar (Get a post, List users, Create post, Random dog).

  2. Pick the method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS), then fill the Params, Headers, Auth and Body tabs. Params are appended to the URL automatically, Auth offers No Auth, Bearer Token or Basic Auth, and Beautify JSON reformats the raw body.

  3. Press Send (or Enter in the URL bar) and read the response: status code, time in ms and payload size, with Body and Headers tabs, a Pretty toggle for JSON, a copy button and a download button that saves response.json or response.txt. Cancel aborts an in-flight request, the Save icon files it under a collection, and the History tab keeps your last 50 sends.

Why use API TESTER

  • Collections and history that persist

    Saved requests, environment variables and the 50 most recent calls stay in your browser's local storage between sessions — no account, no sync.

  • Variables everywhere, not just the URL

    {{name}} placeholders are expanded in the URL, every header value and the request body at send time, so one change switches environments.

  • Response detail beyond the body

    Every send reports status and status text, elapsed milliseconds, payload size in B/KB/MB, and the complete response header list, with JSON pretty-printing toggleable.

Common use cases

  • A backend teammate sends you a new endpoint and a token over chat and you need to confirm it returns 200 with the expected JSON before wiring it into the app — paste the URL, set Bearer auth, hit Send.
  • You are reproducing a bug that only appears on PATCH with a specific payload, so you save the request into a collection and re-fire it after every deploy while watching the status badge and response time.
  • You are testing the same route against staging and production by keeping a {{base}} variable in the environment tab and swapping its value instead of editing the URL each time.

Frequently asked questions

How do I convert a request to a cURL command?

Build the request, then press the cURL button next to Send. It copies the method, URL, headers (including Bearer or Basic auth) and body as a single curl command with shell-safe quoting, ready to paste into a terminal.

Link to answer
Why does my request fail with a network error when the API works in Postman?

Almost always CORS. The request is made by your browser with fetch(), so the target API must return permissive Access-Control-Allow-Origin headers; desktop clients like Postman are not bound by that rule. There is no AltFTool proxy in between: credentials bypass AltFTool and travel directly from your browser to the target API you entered.

Link to answer
Do I need to set Content-Type myself when posting JSON?

No. If the method is not GET or HEAD, the body is non-empty and you have not set a Content-Type header yourself, the tool adds Content-Type: application/json automatically. Set the header explicitly if you are sending form-encoded or plain-text bodies.

Link to answer
How much request history is kept, and where?

The 50 most recent requests are kept, newest first, in your browser's local storage along with saved collections and environment variables. AltFTool does not receive or sync that saved history; request details are transmitted to the target API when you send them. Clearing site data or using the Clear history button removes the local copy permanently.

Link to answer
How is Basic auth sent?

Choosing Basic Auth and filling in a username and password sends an Authorization: Basic header whose value is the base64 encoding of username:password. Bearer Token mode sends Authorization: Bearer followed by your token, after any {{variables}} in it are substituted.

Link to answer