We are trying to authenticate according to API documentation here:
We have used token and secret from our account to generate auth header with this tool:
Using https://api.loyaltylion.com/v2/customers as a base and HTTP header to send the content-type value as “application/json” and authorization as follow:
Authorization: Basic <generated_auth_header>
We are getting the following error:
Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined
Resource settings for Get collection (GET)
Resource URL: https://api.loyaltylion.com/v2/customers
Relative path:
How can we authenticate?