cordova-plugin-fetch
cordova-plugin-fetch copied to clipboard
Setting method to "PATCH" causes the fetch API to execute a "POST" to the server
So when attempt to send a PATCH request with a postBody causes the fetch API to instead send a POST instead of a PATCH.
Will dig into the code but not sure why I am getting this behavior
https://github.com/aporat/cordova-plugin-fetch/compare/master...atmosphereiot:master
It looks like if you attach a postBody the plugin assumes you must mean a post even though patch can include a postBody in vanilla fetch
I ran into the same problem