New in 2.4: Test runs you can trust See what's new →

Proxy

Proxy: forward an HTTP request to any URL and return the upstream status and body.

Example request

Forward a request to an upstream URL and relay its response. Full reference and a Send button.

cURL
curl -X POST "https://api.testingapis.com/api/Proxy/call" \
  -H "Content-Type: application/json" \
  -d '{"endpointUrl": "https://httpbin.org/get", "methodName": "GET", "requestBody": ""}'
Run in Studio
Response · 200 OK
{
  "status": 200,
  "statusText": "OK",
  "body": {\n  \args\: {}, \n  \headers\: {\n    \Host\: \httpbin.org\, \n    \Traceparent\: \00-28f8fb2606d6a8a5236ddc630313607a-65e44e7a…
}