Forum Discussion
Megatron9
Feb 16, 2022Nimbostratus
IRule to pass/inject "URL in Header" with "API Key" for authentication
Hi, I am working on an IRule to inject a URL in the header and passing an API Key for authentication. daxalerts-api.daxch.com/interfiling us-east-1 configuration ◦ URL: https://eastdax-api.us-eas...
Feb 17, 2022
Hi Megatron9,
Can you try this iRule?
when HTTP_REQUEST {
if { [HTTP::host] eq "eastdax-api.us-east-1.amazonaws" && [HTTP::uri] eq "/interfiling" } {
HTTP::header insert "x-api-key" "rbvMCKTq47ncSZuxrmUN4yWnfRaSFfzz"
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects