Last active
August 29, 2015 13:57
Example of using `_HttpMethod=PATCH` query param with clients that do not support `PATCH`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> POST /services/data/v29.0/sobjects/Component__c/a1IV0000000MN90MAG?_HttpMethod=PATCH HTTP/1.1 | |
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8y zlib/1.2.5 | |
> Host: cs12.salesforce.com | |
> Accept: */* | |
> X-PrettyPrint: 1 | |
> Authorization: Bearer REDACTED | |
> Content-Type: application/json | |
> Content-Length: 20 | |
> | |
* upload completely sent off: 20 out of 20 bytes | |
< HTTP/1.1 204 No Content | |
< Date: Tue, 25 Mar 2014 16:14:40 GMT | |
< Sforce-Limit-Info: api-usage=36/1040000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment