For development only, you can disable CORS checks:
Frontend on localhost:3000 calling API on localhost:8080
Access-Control-Allow-Origin: http://localhost:3000
header to API responseSending POST with Content-Type: application/json
Access-Control-Allow-Methods: POST
Access-Control-Allow-Headers: Content-Type
Sending cookies or authorization headers
Access-Control-Allow-Credentials: true