Fixes #CB-8021 - adds documentation for httpMethod to doc/index.md. However, translations still need to be addressed.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/77a812a9 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/77a812a9 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/77a812a9 Branch: refs/heads/master Commit: 77a812a95b5120ccc2d9297031ed5b2260c7b372 Parents: 6fee835 Author: Lucas Gonze <[email protected]> Authored: Tue Nov 25 16:26:48 2014 -0800 Committer: Lucas Gonze <[email protected]> Committed: Tue Nov 25 16:26:48 2014 -0800 ---------------------------------------------------------------------- doc/index.md | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/77a812a9/doc/index.md ---------------------------------------------------------------------- diff --git a/doc/index.md b/doc/index.md index 0ba5c95..3c55fe5 100644 --- a/doc/index.md +++ b/doc/index.md @@ -84,6 +84,7 @@ __Parameters__: - __options__: Optional parameters _(Object)_. Valid keys: - __fileKey__: The name of the form element. Defaults to `file`. (DOMString) - __fileName__: The file name to use when saving the file on the server. Defaults to `image.jpg`. (DOMString) + - __httpMethod__: The HTTP method to use - either `PUT` or `POST`. Defaults to `POST`. (DOMString) - __mimeType__: The mime type of the data to upload. Defaults to `image/jpeg`. (DOMString) - __params__: A set of optional key/value pairs to pass in the HTTP request. (Object) - __chunkedMode__: Whether to upload the data in chunked streaming mode. Defaults to `true`. (Boolean) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
