You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ Options object:
51
51
url: string. url to post to.
52
52
path: string. path to the file on the device
53
53
headers: hash of name/value header pairs
54
+
method: HTTP method to use. Default is "POST"
54
55
}
55
56
56
57
Returns a promise with the string ID of the upload. Will reject if there is a connection problem, the file doesn't exist, or there is some other problem.
0 commit comments