Hello Pothiraj, Saranya-ADM,
According to this document, you need to additionally use the set-header
policy to set the Content-Type
to application/json
.
<send-request>
<set-url>...</set-url>
<set-method>POST</set-method>
<set-header name="Content-Type" exists-action="override">
<value>application/json</value>
</set-header>
<set-body template="liquid">...</set-body>
</send-request>
Best regards,
Charlie
If you find my response helpful, please consider accepting this answer
and voting yes
to support the community. Thank you!