@RequestMapping(value = "/action/cards/{id}", method = RequestMethod.PUT) public @ResponseBody Card geoCodeV1(@RequestBody Card card, @PathVariable Integer id) { System.out.println("PUT: Responding with updated card "); System.out.println(card.toString()); cardService.updateCard(card, id); return card; }