Pivotal Cloud Foundry Support

 View Only

 How to set content-type header for webhook in PCF metrics?

Marek Sabo's profile image
Marek Sabo posted Mar 08, 2019 03:29 PM

When I test webhook that should POST to my Webex Teams channel, the request has wrong content-type header: text/plain, even though the body is formatted as JSON. Should be application/json.

 

Is there a possibility to configure this somehow in our installation? Or does this need to be fixed in the pcf-metrics app?