Home  >  Article  >  Backend Development  >  外链接生成问题

外链接生成问题

WBOY
WBOYOriginal
2016-06-06 20:32:01918browse

向七牛服务器上传视频后 拿到response 如何拼成服务视频的外链接

回复内容:

向七牛服务器上传视频后 拿到response 如何拼成服务视频的外链接

七牛响应报文内容中含有key值即文件名,上传文件的bucket域名是固定的在portal平台可以看到,如果是公开空间可是:http://X2X/即可访问,私有空间按照http://X3X/?e=&token=token可参考七牛官网生成http://developer.qiniu.com/docs/v6/api/reference/security/download-tok...。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn