REST API Testing Online
Paste a REST endpoint URL, pick a method, and send the request from your browser — no account, no install. You get back the status code, the response time in milliseconds, and the response headers and body, formatted and validated. Requests are sent from the ReqBin server, not from your browser, so the endpoint sees a server-to-server call and CORS does not apply.
What if I do not have an endpoint to test yet?
Send the request to a ReqBin echo endpoint. Each one accepts a request and answers with a fixed JSON, XML or HTML body, so you can check that your method, headers and payload leave the browser the way you meant them to before you point the tool at a real API. No API key and no sign-up.
GET https://reqbin.com/echo/get/json— returns{"success": "true"}POST https://reqbin.com/echo/post/json— returns{"success": "true"}PUT https://reqbin.com/echo/put/json— returns{"success": "true"}PATCH https://reqbin.com/echo/patch/json— returns{"success": "true"}DELETE https://reqbin.com/echo/delete/json— returns{"success": "true"}HEAD https://reqbin.com/echo/get/json— returns the response headers and no body, withContent-Type: application/jsonOPTIONS https://reqbin.com/echo/options— returnsAllow: GET,POST,PUT,PATCH,DELETE,HEAD,OPTIONSand the CORS headersGET https://reqbin.com/echo/get/json/page/2— returns a fixed sample of a paginated response: three items, alimit, andlinks.prevandlinks.next. The page number in the URL is not read, so every page returns the same body and the same links — it is a shape to parse, not a list to walkGET https://reqbin.com/echo/get/xml— returns an XML<Response>with a response code and a messagePOST https://reqbin.com/echo/post/xml— the same XML body, for testing an XML payloadPOST https://reqbin.com/echo/post/form— acceptsapplication/x-www-form-urlencodedand returns HTML
Every endpoint also answers on /sample/ instead of /echo/, so https://reqbin.com/sample/get/json is the same endpoint under a second path. The bodies are fixed and the endpoints keep no state, so two identical requests return the same response and nothing you send to them is kept.
How to test a REST API endpoint?
- Paste the endpoint URL into the address field above.
- Pick the HTTP method the endpoint expects: GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS.
- Add what the API needs in the tabs below the address field: query parameters in Params, the request body in Body, credentials in Auth, and any extra header such as
Content-Typein Headers. - Press Send, then read the status code, the response time and the body.
- Generate a PHP, Python, JavaScript/AJAX, Node.js, Java, C#/.NET or Curl/Bash snippet from the same request when it works.
What can I check in the response?
The status code and the response time in milliseconds come back with every request. The response body is formatted and validated, so a JSON syntax error in what the API returned shows up as an error rather than as one long line. The response headers are listed separately — that is where you check Content-Type, caching headers and the CORS headers an API sets.