REST API Tester
A lightweight browser HTTP client for hitting REST endpoints. Choose a method, set headers and a body, send, and inspect the status, timing, headers and formatted response.
The REST API Tester is a small HTTP client that lives in your browser, so you can fire a request at an endpoint and read the reply without opening Postman or a terminal. Pick a method, type the URL, add header rows, and paste a JSON body for POST, PUT or PATCH calls. Hit Send and you get the status code, how long the round trip took, the response headers, and the body pretty-printed when it is JSON. Because it runs in the browser it can only reach APIs that return permissive CORS headers, a limit every in-browser tester shares rather than a fault in the request.
How it works
- 1
Set the method and URL
Choose GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS, then type the endpoint you want to call, such as https://api.example.com/v1/users.
- 2
Add headers and a body
Fill in key/value header rows like Authorization or Content-Type, adding or removing rows as you go. For write methods a JSON body field appears for your payload.
- 3
Send and read the response
Press Send to run the fetch. The status code is colour-coded by class, the response time shows in milliseconds, and a JSON body is formatted automatically.
Instant & 100% private — nothing is uploaded
Everything runs locally in your browser. Your code, text and files are processed on your own device and are never sent to a server — so there are no upload waits, no size limits from us, and nothing is ever stored or logged.
Frequently asked questions
- Why does my request fail with a CORS or network error?
- A page in the browser can only read a response when the target API sends an Access-Control-Allow-Origin header that permits your origin. Many public APIs don't, so the browser blocks the read and you see a CORS or network error. The same call often works from curl or a server, which aren't bound by the same-origin policy. This applies to every browser-based API tester.
- How do I send a POST request with a JSON body?
- Set the method to POST, add a header row Content-Type: application/json, and paste your payload into the body field, for example { "title": "Test", "completed": false }. Sending that to https://jsonplaceholder.typicode.com/posts returns a 201 Created with the new record echoed back.
- Which HTTP methods can I use?
- GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS. GET and HEAD are sent without a body, since the Fetch standard forbids one there; the body field only appears for methods that carry a payload.
- Can I set an Authorization header or bearer token?
- Yes. Add a header row named Authorization with a value like Bearer eyJhbGci..., and it goes out with the request. Whether the call succeeds still depends on the API's CORS policy for browser origins.
More tools
More from the Hivly network
Free sister tools on our other sites.