Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[policy] [callout-http] Calls are not reaching when no variable is defined #2383
Below is the design i tried to set up.
/hmac/v1/validation call gets triggered, which has HTTP callout. If HTTP call out results in HTTP 200, call need to proceed and hits the endpoint.
HTTP callout [HmacValidate_keyManager_API ]
/km/v1/validate is a Mock API, which just validates incoming query param and returns the response.
Attaching API exports for your reference.
So, according to the documentation: https://docs.gravitee.io/apim_policies_callout_http.html
This statement is very clear because the callout policy is not run if no variable is defined...
I suppose it makes sense to run the callout policy event if there is no variable defined because you're expecting no response content from the target endpoint?