I use spring-boot 1.4.3.RELEASE to create web services, whereas by asking with help http://localhost:7211/person/get/ramI get null for id property
@RequestMapping(value="/person/get/{id}", method=RequestMethod.GET, produces="application/json")
public @ResponseBody Person getPersonById(@PathParam("id") String id) {
return personService.getPersonById(id);
}
Could you suggest me if there is something that I missed.
source
share