Basic Authentication as defined in RFC2617 with AppGyver

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 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:
Relative path:

How can we authenticate?

Hi there!

I did some quick testing which seems to indicate the API in question is not returning a compatible Access-Control-Allowed-Origin header.
You can see the error here if you try the API url for example here

1 Like

It works well in HTTPBot, with the same basic auth and content-type, check the screen.
But the same does not work in AppGyver.