Proxy
Proxy: forward an HTTP request to any URL and return the upstream status and body.
Your account unlocks these endpoints. Try it on each endpoint's page sends your key for you; from your own code, send a key from your API keys page in the X-TestingApis-Key header.
These endpoints need a free account. Create one or sign in to see their details and try them here.
Example request
Forward a request to an upstream URL and relay its response. Full reference and a Send button.
curl -X POST "https://api.testingapis.com/api/Proxy/call" \
-H "Content-Type: application/json" \
-d '{"endpointUrl": "https://httpbin.org/get", "methodName": "GET", "requestBody": ""}' \
-H "X-TestingApis-Key: YOUR_API_KEY"{
"status": 200,
"statusText": "OK",
"body": {\n \args\: {}, \n \headers\: {\n \Host\: \httpbin.org\, \n \Traceparent\: \00-28f8fb2606d6a8a5236ddc630313607a-65e44e7a…
}Sign in to see the details
The parameters, request and response examples and the live Try it panel for these endpoints are for signed-in members. Accounts are free and take a few seconds to create.