Highlights
Support dynamic authentication headers with request-level arguments
You can use a Pre-NDC Request Plugin to modify the request, and add dynamic headers in runtime via request_arguments.headers
field, which is a string map. Those headers will be merged into the HTTP request headers before being sent to external services.
See the full example at Pre-NDC Request Plugin Request
{
// ...
"ndcRequest": {
// ...
"request_arguments": {
"headers": {
"Authorization": "Bearer <token>",
"X-Custom-Header": "foo"
}
}
}
}
What's Changed
- feat: upgrade Go SDK v2.1.0 by @hgiasac in #75 #76
- feat: dynamic authentication headers support with request_arguments by @hgiasac in #77
Full Changelog: v0.12.2...v0.13.0