c++ - 关于删除保存在七牛服务器文件的问题
ringa_lee
ringa_lee 2017-04-17 11:58:05
0
1
536

上传文件的时候需要上传凭证,可以理解。删除文件的时候总提示错误码401,可是删除文件的函数却不用传递上传凭证进去,请问如何正确删除文件

ringa_lee
ringa_lee

ringa_lee

reply all(1)
左手右手慢动作

The credentials required to delete files are management credentials. The main reason why you do not need to pass credentials to delete files is that Qiniu’s SDK directly encapsulates the signature of the management credentials in the upload function. If the deletion operation returns 401, it means that the deletion operation The signature of the management certificate is incorrect. Can you directly provide the code that calls the delete function?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!