search

Home  >  Q&A  >  body text

七牛云存储 - Node.Js 中下载私有文件m3u8文件的 downloadUrl方法

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

PHPzPHPz2782 days ago857

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师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

    reply
    0
  • Cancelreply