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.