added missing documentation for "patch " method

This commit is contained in:
Sefa Ilkimen
2017-10-20 17:50:16 +02:00
parent d342ca054a
commit 15bf6281bc
+4 -1
View File
@@ -71,7 +71,7 @@ If set to `true`, it won't follow redirects automatically. This is a global sett
cordova.plugin.http.disableRedirect(true);
### setDataSerializer
Set the data serializer which will be used for all future POST and PUT requests. Takes a string representing the name of the serializer.
Set the data serializer which will be used for all future PATCH, POST and PUT requests. Takes a string representing the name of the serializer.
cordova.plugin.http.setDataSerializer("urlencoded");
@@ -188,6 +188,9 @@ Execute a GET request. Takes a URL, parameters, and headers. See the [post](#p
### put
Execute a PUT request. Takes a URL, data, and headers. See the [post](#post) documentation for details on what is returned on success and failure.
### patch
Execute a PATCH request. Takes a URL, data, and headers. See the [post](#post) documentation for details on what is returned on success and failure.
### delete
Execute a DELETE request. Takes a URL, parameters, and headers. See the [post](#post) documentation for details on what is returned on success and failure.