I have a CORS error on the client-side, but on the serve-side, in Node, I can make the request [closed]

I have a CORS problem when I try to make a client-side request, in the javascript file linked to the html. client side axios image cors error image

On the other hand, on the server side, on the node, it works normally, the same request! server side axios image image of recovered data

I need urgent help!

OBS: I'm getting data from a Rest API in django!

I tried using AJAX and Fetch, they had the same problem with cors.

Back to Top