problem description
{"error": "download token not specified"}
the environmental background of the problems and what methods you have tried
Qiniuyun object storage sets private space, timestamp hotlink protection, php backend, and calls the official sdk,CdnManager::createTimestampAntiLeechUrl ($url1, $encryptKey, $durationInSeconds);
generated url access error
related codes
/ / Please paste the code text below (do not replace the code with pictures)
/ / create timestamp hotlink protection
//
$encryptKey = "559b51a976b94abae6bb518bf688beba3caa67ba";
// 21a92cbb52aa36981fb8be9ba3a900aaf79a80ab
//
$url1 = "http://xxxx.xxxx.com/1-1.mp4";
//
$durationInSeconds = 3600;
echo $signedUrl = CdnManager::createTimestampAntiLeechUrl($url1, $encryptKey, $durationInSeconds);
what result do you expect? What is the error message actually seen?
expect a normal video url that can be accessed by the browser!