Node.Js 中下载私有文件m3u8文件的 downloadUrl方法,参数key的 详细介绍!
天蓬老师2017-04-17 11:36:51
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