Browse Source

Merge pull request #110 from turtlegood/dev

update README.md to inform the handle of cookies
Travis Nuttall 5 years ago
parent
commit
56c44e46bf
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      README.md

+ 1
- 1
README.md View File

180
 
180
 
181
 ### Download example: Fetch files that need authorization token
181
 ### Download example: Fetch files that need authorization token
182
 
182
 
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.
184
 
184
 
185
 ```js
185
 ```js
186
 
186