sparanoid / userscript

My Userscripts
GNU Affero General Public License v3.0
35 stars 6 forks source link

提示后端出错 #4

Closed momoblydblk closed 2 years ago

momoblydblk commented 2 years ago

看到一个目标是https://asoulcnki.asia/v1/api/check的请求但是请求内容为空 请求复制为curl命令如下 curl "https://asoulcnki.asia/v1/api/check" -X POST -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0" -H "Accept: */*" -H "Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2" -H "Accept-Encoding: gzip, deflate, br" -H "Content-Type: application/json" -H "Origin: https://www.bilibili.com" -H "Content-Length: 221" -H "Connection: keep-alive" -H "Referer: https://www.bilibili.com/" -H "Sec-Fetch-Dest: empty" -H "Sec-Fetch-Mode: cors" -H "Sec-Fetch-Site: cross-site"

momoblydblk commented 2 years ago

错误弹窗: 枝网后端出错,请检查网络,报错信息:TypeError: NetworkError when attempting to fetch resource.

momoblydblk commented 2 years ago

知道问题了: 第一个option请求被拦截了,因为asoul cnki的证书过期了