Skip to main content

REST API Tester

Send GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS requests from your browser and inspect status, headers, body and time. CORS limits explained.

URL

Stays in your browser

Headers (JSON)

Stays in your browser
{
"Accept": "application/json"
}

Body (not sent with GET)

Stays in your browser

Saved requests and variables

Everything here stays in this browser. Use {{name}} in the URL, headers or body to insert a variable.

Variables

No variables yet. Add one such as baseUrl or token.

Saved requests

Nothing saved yet.

cURL

History

Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)

Browser-Based REST API Tester

Send a request directly from your browser to whatever URL you enter, and inspect its status, headers, and response body. Cross-origin APIs must allow browser CORS requests. It is aimed at frontend developers and API integrators who need to test an API endpoint before writing a client or curl script.

What this tool does and who uses it

This is an HTTP client for trying an endpoint without writing a script. It sends the request straight from your browser to whatever URL you enter — there is no DevStackKit server in between. Two concrete uses: a frontend developer checking exactly what an API returns before writing the code to call it, and someone debugging a webhook or integration by resending the same request with a tweaked header or body to see how the response changes.

Worked example

The default request — GET https://jsonplaceholder.typicode.com/todos/1 with an Accept: application/json header — returns a 200 response with body {"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}, pretty-printed automatically since the response is valid JSON. That endpoint is a public test API meant for exactly this kind of experimentation.

Common mistakes and edge cases

  • HEAD returns headers only and OPTIONS is often answered without a body; an empty body panel is expected for both.
  • The Headers box must be valid JSON (like {"Accept": "application/json"}); a malformed headers value fails before the request is even sent, separately from any network or CORS error.
  • The request body is ignored for GET, DELETE, HEAD and OPTIONS regardless of what's typed into the Body field — only POST, PUT and PATCH send it.
  • A response that isn't valid JSON (plain text, HTML, an empty body) is shown as-is rather than pretty-printed — that's expected, not a failure.

Frequently asked questions

Are requests sent through DevStackKit servers?
No. Your browser sends the request directly to whatever URL you enter, using your own network connection. DevStackKit does not proxy, log, or store requests or responses.
Why might a request fail because of CORS?
Browsers block cross-origin requests unless the destination explicitly allows your origin with CORS response headers. This is a browser security rule, not a server-side error in this tool.
Should I send real API keys here?
Use test credentials only. Requests run in your browser, but browser history, extensions, network logs, or the destination service may still expose sensitive values.
Which HTTP methods are supported?
GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS. The body box is sent for POST, PUT and PATCH. HEAD shows the response headers only, because a HEAD response has no body.
Where are my saved requests and variables kept?
Only in this browser (local storage on this device). They are never uploaded. Values marked Secret are hidden on screen and are left out of curl exports and downloads unless you switch on Include secrets. Clearing your browser data removes them, so download a copy if you need one.
How do variables work?
Add a variable such as baseUrl, then write {{baseUrl}} in the URL, headers or body. The value is filled in when you send. If a name has no value, the request is not sent and you are told which name is unknown.
How long does it wait for an answer?
The default is 15 seconds. You can set it between 5 and 60 seconds with the Timeout option.
Why did my API request fail in the browser?
In a browser, a request to another website works only if that server allows it with CORS headers. When it does not, the browser blocks the response and the tester shows a network error even though the same request works in curl or Postman. Check the response headers of the server, and ask the API owner to allow the origin, or use a tool that is not a browser.

Related tools

More Formatters & Parsers

View all Formatters & Parsers tools →