Ver código fonte

update README.md to inform the handle of cookies

turtlegood 5 anos atrás
pai
commit
6984edccf0
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      README.md

+ 1
- 1
README.md Ver arquivo

@@ -180,7 +180,7 @@ To sum up:
180 180
 
181 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 185
 ```js
186 186