소스 검색

update README.md to inform the handle of cookies

turtlegood 5 년 전
부모
커밋
6984edccf0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      README.md

+ 1
- 1
README.md 파일 보기

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