is there a way to send parameter like "https://jira.springsource.org/browse/SPR-6164 " in @PathVariable as part of the URI path ...in Spring Web MVC
@RequestMapping(value = "/Details/{Emailaddress}/{URL}", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
public @ResponseBody Status Details(@PathVariable("Emailaddress") String Emailaddress,
@PathVariable("URL") String URL) {
try {
bankingData.callingmethod(Emailaddress,URL);
return new Status(1, "Details added !");
} catch (Exception e) {
// e.printStackTrace();
return new Status(0, e.toString());
}
}
error:The requested resource is not available