调用Wix REST API返回403错误的问题求助
调用Wix REST API查询博客文章时遭遇403禁止访问问题
我尝试通过Postman向Wix REST API发起GET请求,查询站点的博客文章,请求地址为:https://www.wixapis.com/blog/v3/posts
已按照官方文档生成具备所需权限的API Key及Account ID,将API Key作为Authorization请求头,Account ID作为自定义请求头wix-account-id添加至请求中,但仍收到Wix的403禁止访问页面。
请求详情截图:
响应内容如下:
<!DOCTYPE html> <!-- --> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="noindex"> <title>403 Error: Forbidden | Wix.com</title> <script async src="https://static.parastorage.com/polyfill/v2/polyfill.min.js?features=default,es6,es7,es2017&flags=gated&unknown=polyfill&rum=0"> </script> <script src="https://static.parastorage.com/unpkg-semver/fedops-logger@5/fedops-logger.bundle.min.js"></script> <script> fedopsLogger.reportAppLoadStarted("classic-error-pages-statics"); </script> <script src="https://static.parastorage.com/unpkg-semver/header-footer-provider/app.bundle.min.js"></script> <script crossorigin src="https://static.parastorage.com/unpkg/react@18.2.0/umd/react.production.min.js"></script> <script crossorigin src="https://static.parastorage.com/unpkg/react-dom@18.2.0/umd/react-dom.production.min.js"> </script> <link rel="stylesheet" href="//static.parastorage.com/services/classic-error-pages-statics/1.76.0/app.min.css"> <link rel="preload" as="font" href="https://static.parastorage.com/unpkg/@wix/wix-fonts@1.14.0/media/WixMadeforTextVF_W_Wght.8022447a.woff2" crossorigin> <link rel="preload" as="font" href="https://static.parastorage.com/unpkg/@wix/wix-fonts@1.14.0/media/WixMadeforDisplayVF_W_Wght.ab35e4df.woff2" crossorigin> <link rel="stylesheet" href="https://static.parastorage.com/unpkg/@wix/wix-fonts@1.14.0/madefor.min.css"> <link rel="stylesheet" href="https://static.parastorage.com/unpkg/@wix/wix-fonts@1.14.0/madeforDisplay.min.css"> </head> <body> <div id="root"></div> <script> window.__LOCALE__ = 'en'; window.__ERROR_DATA__ = { staticsUrl: '//static.parastorage.com/services/classic-error-pages-statics/1.76.0/', baseDomain: 'wix.com', errorCode: '403', exceptionName: 'null', serverErrorCode: '-100', data: {}, brand: 'wix', requestId: '************' }; </script> <script src="//static.parastorage.com/services/classic-error-pages-statics/1.76.0/app.bundle.min.js"></script> </body> </html>
恳请有相关经验的人士提供解决建议。
内容的提问来源于stack exchange,提问作者Alster
相关产品推荐
相关产品推荐

