@RequestMapping(value = "/{gebruikersnaam}/{paswoord}", method = RequestMethod.POST) public @ResponseBody Gebruiker checkGebruiker( @PathVariable("gebruikersnaam") String gebruikersnaam, @PathVariable("paswoord") String paswoord) throws Exception { return gebruikerService.checkUser(gebruikersnaam, paswoord); }