Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit dae88ee

Browse files
committed
Update README.md
1 parent 5feef9b commit dae88ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ HTTP request destination url.
127127
#### headers:`object` (Optional)
128128
Headers of HTTP request, value of headers should be `stringified`, if you're uploading binary files, content-type should be `application/octet-stream` or `multipart/form-data`(see examples above).
129129
#### body:`string | Array<Object>` (Optional)
130-
Body of the HTTP request, body can either be a BASE64 string, or an array contains object elements, each element should use the following format.
131-
132-
130+
Body of the HTTP request, body can either be a BASE64 string, or an array contains object elements, each element have 2 required property `name`, and `data`, and 1 optional property `filename`, once `filename` is set, content in `data` property will be consider as BASE64 string that will be converted into byte array later.
133131

134132
When body is a base64 string , this string will be converted into byte array in native code, and the request body will be sent as `application/octet-stream`.
135133

0 commit comments

Comments
 (0)