Przeglądaj źródła

Merge pull request #110 from turtlegood/dev

update README.md to inform the handle of cookies
Travis Nuttall 5 lat temu
rodzic
commit
56c44e46bf
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      README.md

+ 1
- 1
README.md Wyświetl plik

@@ -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