Jump to content

SIte has been blocked by CORS policy

Recommended Posts

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 by MHussain
missing text
Link to comment
  • MHussain changed the title to SIte has been blocked by CORS policy
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.