Enable CORS- use web dev API for reactjs

As previously mentioned, you have the ability to return your own OPTIONS headers in Webdev. You have to write the code yourself to return the right header values. If you have some code written and it's not working, provide your code.

You're looking for a single solution to a problem for which there is no single solution. The right CORS headers to use are going to depend on your application. You must do the research yourself.

2 Likes