// Local URL : // http://localhost:8080/usePowerUp?accountId=testDumby&powerUp=Fire @RequestMapping("/usePowerUp") public String usePowerUp( @RequestParam(value = "accountId", defaultValue = "0000") String accountId, @RequestParam(value = "powerUp", defaultValue = "0000") String powerUp) throws SQLException { return and.usePowerUp(accountId, powerUp); }