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

Commit 02fe9a5

Browse files
committed
Update README.md
1 parent 3374bc5 commit 02fe9a5

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

README.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -111,32 +111,6 @@ Elements have property `filename` will be transformed into binary format, otherw
111111
})
112112
```
113113

114-
The above code will become something like this in your request body
115-
116-
```
117-
--RNFetchBlob-79338624
118-
Content-Disposition: form-data; name="avatar"; filename="avatar.png"
119-
Content-Type: application/octet-stream
120-
�PNG
121-

122-
���
123-
IHDR��G���������ʣ��IDATx�흋s���/Ծl���رӧmu괝�kڙ��{���Q��@@� �JQ[j�TA���,�Z"�
124-
���$…�� !B `_�ٲ�9���7����B��ݻ��w���s��u����F�6n��r�@������9� G�������#��r�@������9� G��@������9� G�������#��r�@������9� G�����������9� Ǩ�����ᝲg�*������Z���$���������9�.�c�%��U�wn5�hO��{���@?�=@����?~Wvo^�"ő���"͏ޒ��*��r,=�f�$����-E���_���n�^ �Ҡ㞏}��Jq5�����Iv�5<\��1�ɖ��3���*1Z�����O?��
125-
�K-�
126-
--RNFetchBlob-79338624
127-
Content-Disposition: form-data; name="name";
128-
Content-Type: text/plain
129-
130-
user
131-
--RNFetchBlob-79338624
132-
Content-Disposition: form-data; name="info";
133-
Content-Type: text/plain
134-
135-
{"mail" : "[email protected]", "tel" : "12345678"}
136-
--RNFetchBlob-79338624--
137-
```
138-
139-
140114
## API
141115

142116
#### `fetch(method, url, headers, body):Promise<FetchBlobResponse> `
@@ -172,8 +146,5 @@ When `fetch` success, it resolve a `FetchBlobResponse` object as first argument.
172146
### TODO
173147

174148
* Save file to storage
175-
* Native async format conversion
176149
* Custom MIME type in form data
177150

178-
179-
**I'm very new to native module development in RN, if there's any problem, please feel free to contact with me :D**

0 commit comments

Comments
 (0)