Hello,
When code changes are pushed to my Bitbucket repos, I am having it hit a webhook on an external tool. The external tool is expecting the content-type of the header in the request to exactly match "application/json" but instead Bitbucket is sending "application/json; charset=utf-8" instead.
Is there a way to modify the content-type in the Header?
X-Request-Id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Content-Type: application/json; charset=utf-8 X-Event-Key: repo:refs_changed
HTTP Status: 400
{"err": "This plugin only supports json content. Received: application/json; charset=UTF-8"}
Thanks in advance!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.