Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

CORS: REACT COM PLAY FRAMEWORK

Failed to load http://localhost:9000/login: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 500. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Ao tentar fazer um requisição com fetch api, pelo react, recebo essa mensagem no console. O que fazer?

1 resposta
solução!

RESOLVIDO

HABILITEI O CORS NO BACK END.