Problem with CORS in API v3

When I try to make a request from a client-side application with javascript (localhost), I get a status of 403, even putting Api-Token in the header.

In postman everything works perfectly.

At this time, we don’t support requests to our API via the front end or Javascript. We hope to change this in the future.

I’m having the same problem, but I see JavaScript examples in the v3 API documentation. Is it still the case that the API doesn’t work with Ajax calls?

Is this still ongoing?

If your network request is failed. due to the CORS issue then you should use node module CORS and configure the CORS object on the server.

The way CORS works is that if it gets the request from an unknown host or domain then it will give you an error saying that cross-site origin request: access denied.

Which means that you are unknown to the server or in this case malicious actor.

It is the security feature of browsers.

I don’t know that now supports an API that does work with Ajax calls.

I hope this helps,

Best Regards,