Object Storage Service
Aliyun OSS
1. create bucket
2. create sub-account that has granted permissions
3. use accesskey and secret
browser -> transfer directly -> oss

callback-based direct transfer

Error when uploading imgs from the browser:
1. OPTION request to get token -> POST request but get denied
reason: time is not syncronized between local and server

endpoint: 上传oss; bucket domain name: access the img
1. no need to the callback, access the img by url -> <bucket domain name + object name>
2. 设置Callback url: https://www.cnblogs.com/sabertobih/p/17855458.html

浙公网安备 33010602011771号