Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Is it possible to make the Content-Type Value configurable?

Not applicable

We want to make Content-Type value as configurable and store as an entry in KVM Map. And want to call the configurable parameter in the policies like Assign Message policy for setting JSON payload / XML payload as per the requirement. But while doing so, we were getting an error during the deployment of the code. Is it possible to make the Content-Type configurable? Need suggestion on this.

Solved Solved
1 15 785
1 ACCEPTED SOLUTION

Hi @Suranjit Kashyap

Can you try the below code for your requirement.

<Payload contentType="{var}"></Payload>

View solution in original post

15 REPLIES 15