diff src/main/java/de/intevation/lada/rest/ProbeService.java @ 557:61ce3ce0100e

Allow /{id} in urls on PUT requests.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 13 Mar 2015 16:43:32 +0100
parents 7a0e3d49ae33
children c3742f46c8e1
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/ProbeService.java	Fri Mar 13 16:42:12 2015 +0100
+++ b/src/main/java/de/intevation/lada/rest/ProbeService.java	Fri Mar 13 16:43:32 2015 +0100
@@ -198,7 +198,7 @@
      * @return Response object containing the updated probe object.
      */
     @PUT
-    @Path("/")
+    @Path("/{id}")
     @Produces(MediaType.APPLICATION_JSON)
     public Response update(@Context HttpHeaders headers, LProbe probe) {
         if (!authentication.isAuthenticated(headers)) {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)