Skip to main content
POST
/
api
/
projects
/
{projectId}
/
http-proxy
HTTP Proxy
curl --request POST \
  --url https://api.example.com/api/projects/{projectId}/http-proxy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "method": "HEAD",
  "body": "<unknown>",
  "headers": "<unknown>",
  "params": "<unknown>",
  "auth": "<unknown>"
}
'
{}

Path Parameters

projectId
string
required

Body

application/json
url
string
required

Target URL for the proxied request

method
enum<string>
required

HTTP method to use for the proxied request

Available options:
HEAD,
PATCH,
POST,
GET,
DELETE
body
any

Request body to send with the proxied request

headers
any

HTTP headers to include in the proxied request

params
any

Query parameters to include in the proxied request

auth
any

Authentication configuration for the proxied request

Response

200 - application/json

Response received from the proxied HTTP request

Response received from the proxied HTTP request