About http request builder
Build an HTTP request with method, URL, headers, body and authentication, and copy it as code for the language you use.
Authentication types
- Bearer token in the Authorization header.
- Basic authentication with a user name and password.
- API key in a header or query string.
Debugging tip
When a request fails, look at the status code first: 4xx means the request was wrong, and 5xx means the server had a problem.
A worked example
To fetch private data, choose GET, set the URL, add an Authorization header with a bearer token and a query parameter such as ?page=2. The tool shows the full request and the code for it. For forms, switch the body to form data.
Reading the response
- Start with the status code, then the headers and the body.
- A 401 means your credentials are missing or wrong.
- A 429 means you should slow down and retry later.
