JSON API Tester
Test REST APIs with JSON requests directly in your browser.
Enter a URL and click Send to make a request
Try: https://jsonplaceholder.typicode.com/posts/1
JSON API Tester Online
Send HTTP requests with JSON directly from your browser — no installation needed. Supports GET, POST, PUT, PATCH and DELETE methods, custom headers, Bearer token and Basic authentication, and displays a formatted JSON response with status code and response time. Ideal for quickly testing public APIs and endpoints during development.
How to test an API
- Select the HTTP method (GET, POST, etc.).
- Enter the API endpoint URL.
- Add any required headers in the Headers tab.
- For POST/PUT/PATCH, add a JSON body in the Body tab.
- Set Bearer token or Basic auth in the Auth tab if needed.
- Click Send and view the formatted response.
Features
- GET, POST, PUT, PATCH, DELETE methods.
- Custom request headers with key/value pairs.
- JSON body editor with auto-formatting.
- Bearer token and Basic auth support.
- Response status code, timing, and size display.
- Formatted JSON response viewer.
- Clear CORS error messaging.
- No data stored or logged.
About CORS
Browser security prevents requests to APIs that don't include CORS headers. If you see a CORS error, it means the server hasn't allowed browser-based requests from external origins. This is a server-side configuration, not a bug in this tool. For APIs without CORS support, test from a Node.js script, Postman, or the command line with cURL.
Frequently Asked Questions
Why am I getting a CORS error?
Browsers enforce the Same-Origin Policy for security. When an API server doesn't include CORS headers (Access-Control-Allow-Origin), the browser blocks the response. This is a server-side restriction. The API Tester cannot bypass browser security — this is intentional.
Is this tool the same as the full API Tester?
This JSON API Tester is a focused, lighter version optimised for JSON requests. The full API Tester tool supports additional features like query params, file uploads, and response history.
Are my requests logged?
No. All requests are made directly from your browser using the fetch() API. No data passes through DatailedView servers. Your URLs, headers, and bodies are never logged or stored.
Can I test authenticated APIs?
Yes. Use the Auth tab to add a Bearer token or Basic auth credentials. These are added to the request headers. Avoid using real production credentials — use test/development API keys instead.