Testing an API by Hand, Step by Step
Most API bugs show up when something is missing or wrong: no token, an expired token, a field left out, a number sent as text. Testing an endpoint means checking the happy path once and then poking at the edges until you know how it fails. The request builder above is set up for exactly that, with every header, auth mode and body field one click away from being switched off.
Each reply shows the status code, how long it took and how many bytes came back, plus the response headers and the raw text. JSON bodies are indented for reading but never rewritten, so what you see is what the server sent. If you only want to send a single request rather than work through a test plan, the API tester page walks through the request builder itself.
Send the request that should work
Enter the endpoint, pick the method and add the headers, auth and body a real client would send. Press Send and note the status code, the response headers and the shape of the body. This is your baseline.
Tip: the Sample menu loads a GET, POST, PUT and DELETE request against a public demo API, which is a handy way to see what a normal reply looks like before you test your own endpoint.
Break it on purpose
Untick the Authorization header or switch Auth to None, change the token by one character, drop a required field from the JSON body or send a wrong type. Each time, check that the API answers with the status code you expect (401, 403, 400 or 422) and a useful error message instead of a 500.
Good things to break: the Authorization header, a required body field, a field type (send "42" instead of 42), the Content-Type header, and the HTTP method itself (a DELETE where only GET is allowed should give 405).
Keep what you found
Copy the response or download it, and copy the cURL command for the request so the same test can be repeated later in a terminal or a CI script. Paste two responses into JSON Compare to see what changed between runs.
Copy and Download give you exactly the text on screen. An image, PDF or other binary reply is downloaded byte for byte.
Which Status Code to Expect
Write down the code you expect before pressing Send; it makes a wrong answer much easier to spot. The full list lives in MDN's HTTP status reference; these are the ones that come up in nearly every test session.
The request worked. A POST that creates something usually returns 201 and often a Location header.
Worked, with no body. Common for DELETE. If you get a body anyway, the API is not following its own docs.
Your input is wrong: a missing field, a bad type, malformed JSON. The message should say which field.
No credentials, or credentials the server could not verify. Expect this with Auth set to None.
Credentials are fine, but this user may not do this. Test it with a second, less privileged account.
The resource does not exist. Some APIs also return 404 instead of 403 to hide that something exists.
Rate limited. Look for Retry-After or X-RateLimit headers in the Headers tab of the response.
The server failed. Bad input should never cause this; if it does, you have found a bug worth reporting.
Checking the Data That Came Back
API Testing Questions
What should I check when I test an API by hand?
Start with the status code, because it is the contract: 200 or 201 when things work, 400 or 422 for bad input, 401 when credentials are missing, 403 when they are not allowed, 404 for a missing resource. Then look at the response headers (Content-Type, caching, rate-limit headers), and only then at the body: are the required fields there, do the types match the documentation, and are long IDs and prices returned exactly?
How do I test authentication and authorization?
Send the same request four ways: with a valid token, with no Authorization header, with a token that has been tampered with, and with a token for a user who should not have access. The first should succeed, the next two should give 401, and the last should give 403 or 404. In the Auth tab you can switch between Bearer, Basic and None without retyping anything, and in Headers each header has a checkbox so you can turn an API key off for one request.
What is negative testing for an API?
It means sending requests that ought to fail and checking that they fail cleanly. Try a missing required field, a string where a number belongs, a number that is far too large, an empty body, malformed JSON and an unexpected Content-Type. A well-behaved API answers with a 4xx code and a message that says what was wrong. A 500 or a stack trace in the reply usually means the input is not validated.
Can I see whether a response changed after a deploy?
Yes, by hand. Download or copy the response before the change, send the same request afterwards and paste both into JSON Compare, which highlights every added, removed or changed value. The response viewer never rewrites numbers, so a long ID like 8901240544102066246 or a price like 14.50 shows up exactly as the server sent it and cannot cause a false difference.
Is this a replacement for automated API tests?
No. This page is for exploring an endpoint and reproducing a bug by hand. Once you know what to check, put it in an automated suite (REST Assured for Java, Postman collections with Newman, or plain test code with your HTTP client) so it runs on every build. The cURL command shown under the request is a quick way to carry a manual test into a script.
Where do my test requests go, and is anything kept?
Each request goes from your browser straight to the URL you enter; it does not pass through our server, and the browser's CORS rules apply, so some APIs will only answer to curl or a backend. Nothing you type is kept, and a reload starts with an empty form. Share is the one exception: it uploads the request, including any token or password, to our server so the link can open it, so remove secrets before sharing.