Hello @Mithila Lishan,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The Azure API Management does not provide a direct policy to convert a JSON request body to JSONP in the inbound section. The jsonp
policy is specifically designed to add JSONP support to an operation or an API, but it is intended for outbound responses rather than for transforming inbound requests.
To achieve your goal, you may need to handle the conversion at the application level or use a custom policy that processes the incoming JSON request and formats it as JSONP before sending it to the backend. Unfortunately, the existing policies like json-to-xml
or json-to-json
do not support this specific transformation.