Basic Auth per Step
Description
Each step can include HTTP Basic authentication credentials.
Motivation
Some APIs require distinct credentials for individual endpoints. Configuring authentication per step ensures flexibility.
Example
{
"steps": [
{
"title": "Get data",
"method": "GET",
"url": "https://api.example.com/private",
"basic_auth": {"user": "user", "pass": "pass"}
}
]
}
Questions & Answers
Q: Are credentials stored securely?
A: They are kept in your workspace database. Use environment variables for sensitive data.
Comments
Provide credentials only for steps that require them.
Other Uses
Combine Basic Auth with assertions to verify that protected endpoints return the expected results.