Remove queryparam after assign message to payload

Hello @dino-at-google

Thank you for the demo. Unfortunately, it does not work. I do not understand

  • AM-CleanResponseHeaders - why is it at proxy preflow response?
  • AM-Payload - Why is it at target request flow?

For this proxy, it is a no target endpoint. I accept queryparam such that it is ?bookid=10. I will use assign message policy to take the queryparam, set it as a request payload i.e. {“books”: {“bookid”: “10”}}

After that, remove the queryparam from the proxy path and execute service callout to the target endpoint with a request payload.