Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hello team,
I want to do some customization on my site.
I want to fetch specific customers on frontend through apis, but when i call its shows error
Access to XMLHttpRequest at from origin has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Please give any solution regarding this or any other method to call customers on frontend.
That's a CORS error. What URL are you posting to, and if it's local on your machine, is your development environment configured correctly?
Do you have any code you can share to help diagnose this?
User | RANK |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |