I have the following Spring API:
@CrossOrigin(origins = "http://localhost:4200", allowCredentials = "true", maxAge = 3600) @RequestMapping