I need to make a PATCH http request.
I made the rather incredible discovery today that I can't set an HttpRequest to use the PATCH method, as when sending the request I get a callout exception:
System.CalloutException "Invalid HTTP method: PATCH"
The work around I've found on Stack Exchange and elsewhere is only applicable to a Salesforce Rest API request:
This is therefore not helpful to me as I'm calling out to a third party.
By what manner of magic can I send a PATCH request from Salesforce?
The only work around I can think of is to not do it from Apex - this is not an option.