4. CORS
CORS(Cross-Origin Resource Sharing)
GET /posts HTTP/1.1
Host: http://localhost:8080 → Back-end (REST API)
Origin: http://localhost:3000 → Front-endJSONP
Access-Control-Allow-Origin
Preflight
@CrossOrigin
Last updated