可以成功请求,以下是前端代码:

fetch("https://api.jiandaoyun.com/api/v5/app/entry/widget/list", {
  method: "POST",
  headers: {
    "Content-Type": "application/x-www-form-urlencoded",
    "Authorization": "Bearer h1rShlbn0f5o1y3Bp1h31ELh6IUI8OXI"
  },
  body: "app_id=6417c3990e443e0008763220&entry_id=6417c3d601039c0008392a6a"
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
URL POST模式 httpsapijiandaoyuncomapiv5appentrywidgetlistHeaderContent-Type		applicationx-www-form-urlencodedAuthorization		Bearer h1rShlbn0f5o1y3Bp1h31ELh6IUI8OXIBodyapp_id				6417c3990e443e0008763220

原文地址: http://www.cveoy.top/t/topic/b34p 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录