APIM send-request to self

I had a scenario that required multiple send-requests to be executed inside a policy. One of the send-requests needed to be made to another API operation hosted on the same APIM instance. Using the FQDN resulted in a HTTP 404 not found response. The following can be used within a policy if you need to … Read more

Generate and cache OAuth 2.0 tokens using Azure API Management

Are you using Azure API Management to forward requests on to an external API service that requires OAuth tokens for authorization? In this post we will cover how you can use policy in APIM to automatically generate and cache OAuth 2.0 tokens and include the tokens in headers before forwarding requests to the backend. The … Read more