diff --git a/src/main/java/de/svs/NamespaceController.java b/src/main/java/de/svs/NamespaceController.java index 4c86045..4cebf78 100644 --- a/src/main/java/de/svs/NamespaceController.java +++ b/src/main/java/de/svs/NamespaceController.java @@ -86,7 +86,7 @@ public TemplateInstance post(@FormParam("namespace") String namespace, @FormPara } - @PUT + @POST @Path("/createIfNotExistsAndWait") @RestStreamElementType(MediaType.TEXT_PLAIN) public RestMulti createIfNotExistsAndWait(NamespaceDto dto) { @@ -131,7 +131,7 @@ public RestMulti extendAndWait(NamespaceDto dto) { } } - @POST + @PUT @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public NamespaceDto createNamespaceEntry(NamespaceDto dto) {