Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
The account identifier
Body
application/json
The request body
The base url of the request
Example:
"https://api.sample-integration.com/v1"
The method of the request
Available options:
get, post, put, delete, patch The path of the request including any query parameters
Example:
"/employees/directory"
The headers to send in the request
Example:
{ "Content-Type": "application/json" }The body of the request
Response
The proxy request was successful.
The HTTP status code returned by the provider
Example:
200
The headers returned by the provider
Example:
{
"content-type": "application/json",
"x-request-id": "123e4567-e89b-12d3-a456-426614174000"
}The response data from the provider. Can be an object, array, or primitive value.
Example:
{
"id": "123",
"name": "John Doe",
"email": "john.doe@example.com"
}Provider-specific errors if any occurred
Example:
[
{
"status": 400,
"url": "https://api.someprovider.com/v1/endpoint",
"raw": {
"error": "Bad Request",
"message": "The supplied data is invalid"
},
"headers": {
"date": "Tue, 02 Apr 2024 13:52:01 GMT",
"content-type": "application/json; charset=utf-8"
}
}
]