1111012

appkey和appid都正确还是报401错误 捕获.PNG 1079x206 23.2 KB

没听的懂 能说的仔细点吗 求求了

curl "https://shsufaau.lc-cn-n1-shared.com/1.1/classes/TestObject?" ^ -H "authority: shsufaau.lc-cn-n1-shared.com" ^ -H "x-lc-sign: 8859a18c311fa06116acafc79e1a6acb,1617173352675" ^ -H "x-lc-ua: LeanCloud-JS-SDK/4.10.1 (Browser)" ^ -H "content-type: application/json;charset=UTF-8" ^ -H "sec-ch-ua-mo…

( bash 版本) curl 'https://shsufaau.lc-cn-n1-shared.com/1.1/classes/TestObject?' \ -H 'authority: shsufaau.lc-cn-n1-shared.com' \ -H 'x-lc-sign: 299c096da3ed6dd8f755d63737666b81,1617184174053' \ -H 'x-lc-ua: LeanCloud-JS-SDK/4.10.1 (Browser)' \ -H 'content-type: application/json;charset=UTF-8' \ -H 's…

是的是我的问题 之前我以为那是他的格式没去掉 谢谢大佬

qiniu.min.js:1 Access to XMLHttpRequest at 'http://localhost:8888/uptoken' from origin 'http://157.0.34.34:8080' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space local . 这是代码链接 https://github.com/futureY/music/tree/main

好的 https://github.com/futureY/music/blob/main/server.js https://github.com/futureY/music/blob/main/src/admin.html 就是在这两个文件里面 麻烦帮看一下

好的 我也在看看吧 谢谢啦