Base
The Base section should contain data that is common to all (or most) requests. At the minimum, it should include the root URL, the authorization headers, the error-handling section, and the sanitization.
{
"baseUrl": "https://www.example.com/api/v1",
"headers": {
"Authorization": "Bearer {{connection.accessToken}}"
},
"response": {
"error": {
"message": "[{{statusCode}}] {{body.error.message}} (error code: {{body.error.code}})"
}
},
"log": {
"sanitize": [
"request.headers.authorization"
]
}
}
Last updated