Hello,
I am getting the following error when making a request to Square API from the client side:
Access to XMLHttpRequest at ‘https://connect.squareup.com/v2/locations’ from origin ‘http://localhost’ 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.
I was wondering will I have that Issue when I make that request not from localhost? In that case the request will be from an https URL.