[Lada-commits] [PATCH 1 of 6] Fixed path for POST requests on kommentarm service

Wald Commits scm-commit at wald.intevation.org
Thu Apr 30 16:30:17 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1430403801 -7200
# Node ID e0484b03981234bcbb29ebb23dded06af5474cd9
# Parent  76f08c40a13ad01f200b23680ac6934fb3d0ed4d
Fixed path for POST requests on kommentarm service.

diff -r 76f08c40a13a -r e0484b039812 src/main/java/de/intevation/lada/rest/KommentarMService.java
--- a/src/main/java/de/intevation/lada/rest/KommentarMService.java	Wed Apr 29 22:55:14 2015 +0200
+++ b/src/main/java/de/intevation/lada/rest/KommentarMService.java	Thu Apr 30 16:23:21 2015 +0200
@@ -162,7 +162,7 @@
      * @return A response object containing the created KommentarM.
      */
     @POST
-    @Path("/{id}")
+    @Path("/")
     @Produces(MediaType.APPLICATION_JSON)
     public Response create(
         @Context HttpHeaders headers,


More information about the Lada-commits mailing list