weaverryan/symfonycat-js

Does this strategy solve the CORS problem?

Closed this issue · 0 comments

I have an api made in Symfony that can not have the headers, so I can access on my frontend that is in React. However every request I make to the API, or to a route on my backend, gives CORS error. I'm thinking of abandoning the idea of using React, because all the solutions are to put the headers in the API, and the team that develops the API said they will not do that.

Well, I see that the VUE runs perfectly with the Laravel. A friend uses this stack in his company, and said he does not need to enable CORS. I think it's for it by a bundle in the index.php file. That's right?