MHussain Posted January 5 Share Posted January 5 (edited) I wanted to make square space api request, so when I am calling store pages api via fetch that time I am facing CORS policy issue. Can anyone please help me on this? Access to fetch at 'https://api.squarespace.com/1.0/commerce/store_pages' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. Edited January 5 by MHussain missing text Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment