Skip to content

Commit 6984edc

Browse files
committed
update README.md to inform the handle of cookies
1 parent fb0c5f1 commit 6984edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ To sum up:
180180
181181
### Download example: Fetch files that need authorization token
182182

183-
Most simple way is download to memory and stored as BASE64 encoded string, this is handy when the response data is small.
183+
Most simple way is download to memory and stored as BASE64 encoded string, this is handy when the response data is small. Note that when it comes to authorization, not only can you use an authorization token, but this package will automatically pass the cookies created by normal js requests such as axios and fetch. Therefore, if you are using traditional cookie-based ways to authorize your user, you don't need to do anything before this package works.
184184

185185
```js
186186

0 commit comments

Comments
 (0)