I'm trying to test the Dolibarr API which requires a custom DOLAPIKEY header for authentication. I'm not sure if I'm configuring AutoRestTest correctly or if this is currently supported.
The Dolibarr API needs the DOLAPIKEY header to be passed with every request
What I've Tried
- Enabled the Header Agent in
configurations.toml:
[agents.header]
enabled = true
- However, the documentation states that the Header Agent only supports Basic Authentication (username/password), not custom API keys.
My Questions
- Is there a way to pass custom API key headers through configuration without modifying the code?
- Should I be using a different approach or configuration?
If you need the spec file, I can share it. Any guidance would be appreciated!