我尝试从eBay API中搜索项目。在我的server.js文件中的中,我通过上下文属性传递令牌字符串,同时实例化(s.doku:)。因此,每个请求都包含身份验证HTTP标头属性。{ console.log(context.headers)
fetchAccess token is missing in the Authorizat
Access to fetch at 'http://dummy.restapiexample.com/api/v1/create' from origin 'http://127.0.0.1:5501postData @ tut42.js:57tut42.js:57 Uncaught (in promise) TypeError: Failed to fetch