Seems like APIM is not identifying the methods for some reason. I was trying the execute GET call from inbound policy, but its not getting through
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Below is the policy configured at the API level but it failed to validate cache-lookup-value key
<cors>
<allowed-origins>
<origin></origin>
</allowed-origins>
<allowed-methods>
<method>GET</method>
<method>POST</method>
</allowed-methods>
<allowed-headers>
<header></header>
</allowed-headers>
</cors>
<!-- base: End Product scope -->
<!-- Extract Token from Authorization header parameter -->
<set-variable name="token" value="@(context.Request.Url.Query.GetValueOrDefault("accesstoken"))" />
<!-- Check for cached authorization status for the subject -->
<cache-lookup-value key="@((string)context.Variables["token"])" variable-name="ClinicID" />
Please share your thoughts. The request type is POST, same policy work with GET request with no issues
Seems like APIM is not identifying the methods for some reason. I was trying the execute GET call from inbound policy, but its not getting through
Guys,
Is it because, my inbound request has both GET and POST.
Another GET endpoint work like a charm