七牛云存储 - Node.Js 中下载私有文件m3u8文件的 downloadUrl方法
PHPz
PHPz 2017-04-17 11:34:51
0
1
881

Node.Js 中下载私有文件m3u8文件的 downloadUrl方法,参数key的 详细介绍!

PHPz
PHPz

学习是最好的投资!

reply all(1)
Peter_Zhu

In nodesdk, https://github.com/qiniu/nodejs-sdk/blob/develop/qiniu/rs.js#L228 makeBaseUrl(domain, key, query)The three parameters respectively represent the space domain name, space file name and query parameters, https: //github.com/qiniu/nodejs-sdk/blob/develop/qiniu/rs.js#L207 GetPolicy.prototype.makeRequest = function(baseUrl, mac)The two parameters are the url returned by makeBaseUrl and the mac object used for signing;

For the interface specifications of the specific private resource download URL, please refer to http://developer.qiniu.com/docs/v6/api/reference/security/download-token.html

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template