i’m using reactjs for frontend and play for backend. While sending post request after filling from from reactjs, I need to send corsToken. I am not able to figure out how to handle cors when using react and play.
can anyone help me.
We have something just like this. On the backend, make sure you have the CORS filter enabled. The default settings should work, but you can customize it to lock things down.
On the frontend with react, we use axois, so every “form submit” is an API call.