• <legend id='FKKCD'><style id='FKKCD'><dir id='FKKCD'><q id='FKKCD'></q></dir></style></legend>

    <small id='FKKCD'></small><noframes id='FKKCD'>

        <bdo id='FKKCD'></bdo><ul id='FKKCD'></ul>
      1. <tfoot id='FKKCD'></tfoot>
      2. <i id='FKKCD'><tr id='FKKCD'><dt id='FKKCD'><q id='FKKCD'><span id='FKKCD'><b id='FKKCD'><form id='FKKCD'><ins id='FKKCD'></ins><ul id='FKKCD'></ul><sub id='FKKCD'></sub></form><legend id='FKKCD'></legend><bdo id='FKKCD'><pre id='FKKCD'><center id='FKKCD'></center></pre></bdo></b><th id='FKKCD'></th></span></q></dt></tr></i><div id='FKKCD'><tfoot id='FKKCD'></tfoot><dl id='FKKCD'><fieldset id='FKKCD'></fieldset></dl></div>

        BigCommerce API 是否支持 CORS?

        Does the BigCommerce API supports CORS?(BigCommerce API 是否支持 CORS?)

          <tfoot id='kScMD'></tfoot><legend id='kScMD'><style id='kScMD'><dir id='kScMD'><q id='kScMD'></q></dir></style></legend>
            <bdo id='kScMD'></bdo><ul id='kScMD'></ul>

                • <i id='kScMD'><tr id='kScMD'><dt id='kScMD'><q id='kScMD'><span id='kScMD'><b id='kScMD'><form id='kScMD'><ins id='kScMD'></ins><ul id='kScMD'></ul><sub id='kScMD'></sub></form><legend id='kScMD'></legend><bdo id='kScMD'><pre id='kScMD'><center id='kScMD'></center></pre></bdo></b><th id='kScMD'></th></span></q></dt></tr></i><div id='kScMD'><tfoot id='kScMD'></tfoot><dl id='kScMD'><fieldset id='kScMD'></fieldset></dl></div>
                    <tbody id='kScMD'></tbody>

                  <small id='kScMD'></small><noframes id='kScMD'>

                • 本文介绍了BigCommerce API 是否支持 CORS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我想在应用程序安装期间与 BigCommerce 交换信息,并从 html 页面发送代码的 POST 请求.但是我一直被 CORS 阻止:请求的资源上没有 'Access-Control-Allow-Origin' 标头.".而且我在 BigCommerce API 文档中找不到任何相关信息.

                  I want to exchange information with BigCommerce during application installation and send POST request for code from html page. But I keep getting blocked by CORS: " No 'Access-Control-Allow-Origin' header is present on the requested resource.". And I cannot find anything about it in BigCommerce API documentation.

                  有人知道吗,支持吗?有没有办法在浏览器中从 javascript 调用 BigCommerce api?

                  Do somebody know, is it supported? Is there any way to call BigCommerce api from javascript in browser?

                  推荐答案

                  我们不支持 CORS.尝试在浏览器中直接从 javascript 调用 API 是非常不安全的.这会公开一个 API 令牌,使某人能够通过基本身份验证访问存储中可用的任何数据.这将包括 PII.

                  We do not support CORS. It is very insecure to try to call the API from javascript on in the browser directly. This exposes an API token which enables someone to have access to any data in the store available through basic authentication. This would include PII.

                  如果您确实需要从 API 调用信息,请使用安全的 Web 服务,该服务会向您的脚本返回非常具体的值,而不是直接调用它.

                  If you really need to call info from the API, please use a secure web service that returns very specific values to your script as opposed to calling it directly.

                  这篇关于BigCommerce API 是否支持 CORS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  SCRIPT5: Access is denied in IE9 on xmlhttprequest(SCRIPT5:在 IE9 中对 xmlhttprequest 的访问被拒绝)
                  XMLHttpRequest module not defined/found(XMLHttpRequest 模块未定义/未找到)
                  Show a progress bar for downloading files using XHR2/AJAX(显示使用 XHR2/AJAX 下载文件的进度条)
                  How can I open a JSON file in JavaScript without jQuery?(如何在没有 jQuery 的情况下在 JavaScript 中打开 JSON 文件?)
                  quot;Origin null is not allowed by Access-Control-Allow-Originquot; in Chrome. Why?(“Access-Control-Allow-Origin 不允许 Origin null在铬.为什么?)
                  How to get response url in XMLHttpRequest?(如何在 XMLHttpRequest 中获取响应 url?)
                      <tbody id='VoInO'></tbody>
                    <i id='VoInO'><tr id='VoInO'><dt id='VoInO'><q id='VoInO'><span id='VoInO'><b id='VoInO'><form id='VoInO'><ins id='VoInO'></ins><ul id='VoInO'></ul><sub id='VoInO'></sub></form><legend id='VoInO'></legend><bdo id='VoInO'><pre id='VoInO'><center id='VoInO'></center></pre></bdo></b><th id='VoInO'></th></span></q></dt></tr></i><div id='VoInO'><tfoot id='VoInO'></tfoot><dl id='VoInO'><fieldset id='VoInO'></fieldset></dl></div>

                    1. <tfoot id='VoInO'></tfoot>

                      <small id='VoInO'></small><noframes id='VoInO'>

                        • <bdo id='VoInO'></bdo><ul id='VoInO'></ul>

                        • <legend id='VoInO'><style id='VoInO'><dir id='VoInO'><q id='VoInO'></q></dir></style></legend>