I have a requirement where i need to create a basic Authorization header using values that i will be storing in context variables and passing it to app endpoint that requires AZ header.
The values that i will be storing in context variables will be available through http_headers. Is there any assertion available that can be used for this ? I tried looking into assertions but dint find any.
Thanks in advance.
Have you consider using the HTTP Credentials option of the HTTP route assertion?
We also have the below two assertions that can be used to base64 encode the credentials and add a header depending on your exact use case.
Encode/Decode Data Assertion - CA API Gateway - 9.2 - CA Technologies Documentation
Manage Transport Properties/Headers Assertion - CA API Gateway - 9.2 - CA Technologies Documentation