Test a REST API Without Installing Anything
Sometimes you just want to see what an endpoint returns: check a status code, try a new header, or replay a request you caught in DevTools. This page does that in the browser tab you already have open, a lighter option than a desktop client like Postman when you don't need collections or environments.
Paste a cURL command and the request is rebuilt field by field, or fill it in by hand and copy the cURL version out again. JSON replies are indented but never rewritten, which matters when they hold long IDs. If you mostly want to read the data, our JSON to table viewer turns a response into a sortable table.
Enter the URL and pick a method
Type or paste the endpoint, choose GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS, or import a cURL command from the Import cURL tab. Query parameters in the URL show up in the Params tab, and editing them there updates the URL.
Methods: GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS.
Query parameters: repeated keys like tag=1&tag=2 are kept, and the URL you type is sent as it is.
Add headers, auth and a body
Use the Headers tab for things like Accept or an API key, the Auth tab for a Bearer token or Basic username and password, and the Body tab for JSON, XML, plain text or form fields.
Body types: JSON, XML, plain text, multipart form data (with files) and URL-encoded forms. The body is sent exactly as typed.
Headers: each one has a checkbox, so you can switch it off without deleting it.
Send and read the response
Press Send. The status, time and size appear above the response; Body shows it (JSON is indented with every number left as sent), Headers lists the response headers, and Raw shows the whole reply as text. Copy or download it, or copy the matching cURL command.
Status and timing: the HTTP status is colour-coded, the time is measured in the browser and the size is the number of bytes received.
Output: Copy and Download give you the same text you see; images and other binary replies download unchanged.
What's in the Toolbox
Right-click a request in Chrome DevTools, copy it as cURL and paste it here to replay it. Going the other way, the command under the request form updates as you edit and is safe to paste into a terminal.
Add as many headers as you need and untick one to see how the API behaves without it, for example a different Accept value or a missing API key.
Paste a Bearer token or a username and password and the Authorization header is built for you.
Responses open in a syntax-highlighted editor. To dig further, paste a reply into the JSON formatter or the JSON beautifier.
The Params tab lists every pair in the URL. Edit, untick or remove one and the URL follows; to build a long query from scratch, the query string builder sends its result straight here.
Switch between the body, a table of response headers and the full reply as text. Share creates a link that opens the same request for a teammate.
Working With the Data You Got Back
Frequently Asked Questions
How do I import a cURL command?
In Chrome, Edge or Firefox open DevTools (F12), go to the Network tab, right-click a request and choose Copy, then Copy as cURL (bash). Paste it into the Import cURL tab and press Parse cURL Command. The URL, method, headers, Basic or Bearer auth and the body are filled in exactly as the shell would pass them to curl, so a JSON body keeps its quotes and every digit. The Windows (cmd) flavour with ^ escapes is not supported.
Can I test APIs that need authentication?
Yes. In the Auth tab choose Bearer Token and paste the token, or Basic Auth and enter a username and password; the Authorization header is added for you, and Basic credentials are encoded as UTF-8, the way curl does it. API keys that go in a custom header, such as X-API-Key, belong in the Headers tab.
Why do I get a network or CORS error when curl works fine?
The request is sent by your browser, so the browser's rules apply. Unless the API answers with an Access-Control-Allow-Origin header that allows other websites, the browser hides the response from the page, and this tester cannot get around that. A page loaded over https also cannot call a plain http:// address on the internet. For such APIs, copy the generated cURL command and run it in a terminal, or call the API from your own server.
Is the generated cURL command safe to paste into a terminal?
Yes. Every value is wrapped in single quotes, so a $, a backtick, a quote or a line break in your body or headers is sent to the server as written and is never run as a shell command. The body goes in --data-raw, which sends the text unchanged.
Does the response viewer change any values?
No. JSON responses are indented for reading, but the text between the brackets is left alone, so a long ID like 8901240544102066246 or a price like 14.50 shows exactly as the server sent it. The Raw tab shows the body untouched, and an image, PDF or other binary reply is saved byte for byte by Download.
Where do my requests go, and is anything kept?
Requests travel from your browser straight to the URL you enter; they do not pass through our server. Nothing you type is kept, and a reload starts with an empty form. The one exception is Share: it uploads the request, including any token or password in the Auth tab, to our server so the link can open it, so take secrets out before you share.