diff --git a/src/main/java/cactusServer/resources/PlayersRest.java b/src/main/java/cactusServer/resources/PlayersRest.java index a8a0236..05a5ff9 100644 --- a/src/main/java/cactusServer/resources/PlayersRest.java +++ b/src/main/java/cactusServer/resources/PlayersRest.java @@ -21,7 +21,6 @@ @Path("/instances/players") public class PlayersRest { - @Path("/players") @POST @Produces(MediaType.APPLICATION_JSON) public URIAddressedEntity createPlayer(@PathParam("instanceId") String instanceURI, @@ -43,7 +42,7 @@ return null; } - @Path("/players/{playerId}") + @Path("/{playerId}") @PUT @Produces(MediaType.APPLICATION_JSON) public Player updatePlayer(@PathParam("instanceId") String instanceId, @FormParam("playerId") String playerId,