About HTTP Request Tester
This HTTP request tester lets you try an API without installing a client or writing code. Check that a webhook endpoint answers, see what a public API returns for a query, send OPTIONS to read the Allow and CORS headers an endpoint returns, or confirm where a redirect ends up. Pick the method, enter the URL, add headers one per line and a body of up to 500 KB, then click Send.
You get the status code, time, size, each redirect hop while Follow redirects is on, the response headers and the body, with JSON pretty-printed and up to 1 MB shown. The request goes out from our server at the moment you click, only to public internet addresses, and nothing is stored. We set a few connection headers, such as Host and Content-Length, ourselves. It doesn't use your daily tasks, but each visitor has an hourly allowance, higher for members. Don't paste passwords or tokens for accounts that matter. To turn a curl command into code instead, see cURL to Code. A JSON response can then be pasted into JSON to Code for matching model classes.
How to use HTTP Request Tester
- 1Enter the request
Choose the method and type the address of a public page or API.
- 2Add headers and a body
Write one header per line, such as Accept: application/json, and put POST or PUT data under Body.
- 3Send it
Click Send. Leave Follow redirects on to follow each hop, or turn it off to see the first answer.
- 4Read the response
Check the status, time and size, then the body and headers, and copy the body or download the full result as JSON.
Why use Cubfile for this
- Seven methods
GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS.
- Your own headers
Up to 50 header lines, including your own User-Agent.
- Readable responses
JSON bodies are pretty-printed, and every response header is listed.
- Redirects traced
Each hop is shown with its status code while Follow redirects is on.