You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST APIs: PATCH hangs - What do you do?

Received Response
edited Jul 14, 2016 11:31PM in Integrations and APIs 5 comments


I was wondering this, but I figured it out, so I thought I'd share. It's in the documentation, but it's not easy to find (search for "HTTP Tunneling"):

In cases where the browser or client application does not support PATCH requests, or network intermediaries block PATCH requests, HTTP tunneling can be used with a POST request by supplying an X-HTTP-Method-Override header.

For example, making a POST request to the incident with ID 22:

with the header:

X-HTTP-Method-Override: PATCH

and body:

"subject": "Test Subject"

updates the incident's subject to Test Subject.

That fixed me right up.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!