Open dodler opened 2 years ago
I seem to be getting the same behavior. I tried to be more explicit in my headers by specifying json content and out of "nowhere" I'm getting cors errors. Note: I'm using axios
on the client-side. CORS is all server-side, so I can't explain the behavior.
Try checking out Issue about cors
I'm making request with header application/json but no json provided and I get cors error. However my cors makes no error, when this header is not provided.
It also works vice versa (json provided, but no header application/json)
Is it correct?