In order to do Post or Patch requests to DevOps from a Zendesk Webhook, I need to use the Content-Type: application/json-patch+json, however Zendesk has only three options: Json, XML and form encoded. How can I run Post/Patch API calls from Webhooks with application/json-patch+json Content-Type?
Zendesk API - JSON Patch
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
You wouldn't be able to use this content-type straight out of the box with Zendesk. I'd suggest creating a middleware to send the webhook request to. Once the middleware receives it, switch the content-type to the type you need and pass the request on to the end location.
Thanks!