HTTP Request Tester
Test REST APIs directly in your browser. Send GET, POST, PUT, DELETE requests with custom headers, body, and query parameters. View response status, headers, and JSON body instantly.
How do I test an HTTP API?
Enter the API URL, select the HTTP method (GET, POST, PUT, DELETE, etc.), add any headers or body if needed, and click Send. The response will appear below with status code, headers, and body.
Why am I getting a CORS error?
Browsers enforce the Same-Origin Policy. If the API server does not include CORS headers (Access-Control-Allow-Origin), the browser will block the response. This is a browser security limitation, not a tool issue. You may need to test against APIs that support CORS.
Can I send POST requests with a JSON body?
Yes. Select POST as the method, go to the Body tab, choose JSON as the content type, and enter your JSON data in the text area. The Content-Type header will be set automatically to application/json.
What is the request timeout?
Requests have a 30-second timeout. If the server does not respond within 30 seconds, the request will be cancelled and a timeout error will be displayed.
What HTTP methods are supported?
The tool supports all standard HTTP methods: GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS. You can select any method from the dropdown menu before sending your request.
Can I add custom headers to my request?
Yes. You can add any number of custom headers such as Authorization, Content-Type, Accept, or custom API keys. Each header is a key-value pair that will be included in the HTTP request.
Is my data sent to any server?
No. All requests are made directly from your browser to the target API server. This tool does not relay or store any of your data. Your API keys and credentials stay in your browser.
Can I test authenticated APIs?
Yes. You can add authentication headers such as Authorization: Bearer <token> or API keys in the headers section. The tool supports any authentication scheme that uses HTTP headers.
How is this different from Postman?
This tool runs entirely in your browser with no installation required. Unlike Postman, there is no account needed and no data is stored on external servers. It is ideal for quick API testing without setup overhead.
Can I view the response headers?
Yes. After sending a request, the response panel shows the status code, response headers (including Content-Type, Server, caching headers, etc.), and the formatted response body.
How to Use HTTP Request Tester
Send GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS requests to any API straight from your browser and inspect status, headers and body. Debug REST endpoints without curl, with requests running locally.
- Pick a Method such as GET or POST and type the endpoint into the URL field, for example https://www.localtoolz.com.
- Add custom header rows for things like Authorization tokens or Content-Type overrides.
- For POST or PUT, choose JSON, Form Data or Raw Text under Content Type and write the payload into Request Body.
- Leave the body type at None for bodyless verbs like GET and DELETE.
- Send the request and read the status code, response headers and JSON body, formatted for quick inspection.
Browser CORS rules apply: a request that curl would accept can fail here if the API does not allow cross-origin calls.
Related Tools
- HTTP Status Codes Complete reference of HTTP status codes with descriptions. Search and filter by code, category, or keyword.
- Chmod Calculator Free online chmod calculator to visualize and calculate Linux file permissions with checkboxes. Instantly convert between numeric (755, 644) and symbolic notation (rwxr-xr-x). Supports special permissions like setuid, setgid, sticky bit.
- ASCII Table Complete ASCII character encoding reference with decimal, hexadecimal, octal, binary codes, HTML entities, and character descriptions. Search and filter instantly.
- HAR Viewer Open HAR files online. Request table with status colors, sorting and filtering, headers, response body preview and a timing waterfall — parsed locally, nothing is uploaded.
- IBAN Validator Validate International Bank Account Numbers (IBAN) instantly. Check format, length, country code, and checksum for 80+ countries with real-time results.
- Random Port Generator Generate random network port numbers from IANA standard ranges — well-known (1-1023), registered (1024-49151), and dynamic (49152-65535). Supports unique values, sorting, and bulk generation. 100% browser-based, no server needed.
- .htaccess Generator Generate Apache .htaccess rules for redirects, rewrites, security headers, caching, compression, and more.
- Robots.txt Generator Free online robots.txt generator. Create and customize robots.txt files to control search engine crawling, manage crawler access, and optimize your site's SEO with an easy visual editor.