I’m trying to do an HTTP Patch request from an Android application and haven’t been able to figure it out. It looks like PATCH isn’t supported by HTTPUrlConnection. HttpPatch doesn’t seem to be in the libraries included on Android (link). Any ideas?
Share
If the Patch method is absolutely necessary you will have to import the Apache HttpClient as a jar dependency. This will increase the size of your app somewhat but it should not be a huge problem.
As a workaround you could try to just include this java code in your app: