Enable CORS in Controller Method
1.@RequestMapping(value = "/products") @CrossOrigin(origins = "http://localhost:8080") public ResponseEntity
2.@RequestMapping(value = "/products") @CrossCORSOrigin(origins = "http://localhost:8080") public ResponseEntity
3.Both
4.None
Posted Date:-2020-11-25 01:22:46