About the API Tester
A lightweight HTTP client for trying APIs without installing Postman. Build a request, press Send or Ctrl+Enter, and read the status, headers and body. Calls run from this tab, so the server must allow CORS.
Trying an HTTP API often means leaving the editor, opening a heavy desktop client, and pasting the same URL again. This tester stays next to the rest of uTooli’s developer tools, so you can send a request, read a JSON body, and jump to a status-code note or a cURL snippet without changing apps.
The request pane is deliberately close to what you already know from Postman or Insomnia: a method badge, a monospace URL, and tabs for query parameters, headers, authentication and body. Enabled rows in the tables are the only ones that travel with the call. Disabled rows stay as drafts. JSON bodies can be validated and pretty-printed before you send them; form and raw bodies are available when an endpoint is not JSON. Bearer, Basic and API-key helpers write the right headers for you.
The response pane reports the numeric status with its usual meaning, the round-trip time, the body size, and a header table. JSON is shown in a collapsible tree; you can also view the raw text or a simple HTML preview. Because the call is a normal fetch from this page, the browser enforces CORS. That is a feature, not a missing proxy: you see the same restriction your front-end will see. When a server refuses the origin, the error explains that clearly and you can still copy a cURL command or a fetch snippet to run elsewhere.
A short history of the last twenty requests is stored only in this browser’s localStorage, including the method, URL and status, so you can replay a call after a refresh.
How to use the API Tester
- 1Enter a URL and method, or leave the JSONPlaceholder example.
- 2Add query params, headers or auth if you need them.
- 3Press Send or Ctrl+Enter, then read the status, timing and body.
Key features
- GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS with colour-coded methods.
- Query and header tables with enable toggles, plus Bearer, Basic and API-key helpers.
- JSON validate and format, form-urlencoded and raw bodies.
- Status pill, timing, size, response headers, pretty / raw / preview views.
- cURL and fetch snippets, cURL import, and a 20-item local history.
- Ctrl or Command + Enter to send, with a plain-language CORS note.
Practical uses
- Probing a public CORS-open API such as JSONPlaceholder.
- Checking how your own API behaves when called from a browser origin.
- Turning a DevTools cURL command into a request you can edit and replay.
- Teaching HTTP status classes with a live response next to the documentation.
Tips and common mistakes
- If you need cookies or a private network, run the generated cURL in a terminal instead of expecting the browser to bypass CORS.
- Add Content-Type yourself only when you must override the automatic JSON or form header.
- Clear tokens from the Auth tab when you finish on a shared computer.
Limitations
- There is no backend proxy, so servers that omit CORS headers will not return a readable body here.
- File uploads and HTTP/2-only features are not provided.
- History never leaves this device and is capped at twenty entries.
Privacy
Requests go only to the URL you enter. History, headers and bodies are not uploaded to uTooli. Treat live tokens like passwords.
Frequently asked questions
Does this bypass CORS?
No. The browser sends the request directly. If the API does not allow this origin, you will get a clear CORS error and can copy a cURL command instead.
Where is history stored?
The last 20 requests stay in localStorage on this device only.
Can I import cURL?
Yes. Open the Code tab, paste a cURL command and press Import.
Are tokens uploaded?
No. Auth headers never leave this tab except to the URL you typed.
Why is the default URL JSONPlaceholder?
It is a public fake API that allows CORS, so Send works immediately and you can see a real 200 JSON response.
What does a green, amber or red pill mean?
2xx is green, 4xx amber, 5xx red, matching the usual class colours in API clients.