Some REST endpoints do support the use of _HttpMethod
override parameter:
If you use an HTTP library that doesn't allow overriding or setting an arbitrary HTTP method name, you can send a POST request and provide an override to the HTTP method via the query string parameter _HttpMethod. In the PATCH example, you can replace the PostMethod line with one that doesn't use override:
https://www.salesforce.com/us/developer/docs/api_rest/Content/dome_update_fields.htm
I tried this as the endpoint:
https://pod.salesforce.com/services/data/v32.0/tooling?_HttpMethod=POST
which returns a response that indicates the HTTP method override isn't happening:
<title>Error 405 GET not supported</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /services/Soap/m/32.0. Reason:
<pre>GET not supported</pre></p>
<hr /><i><small>Powered by Jetty://</small></i><br/>
Could be a stupid question because I haven't even thought about where the request body goes yet.
Is there any way to invoke a Salesforce SOAP API using a GET
method?