Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/LProbeService.java @ 69:ccb8e93b7eca
Removed /create path. Not needed in the REST api.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 31 May 2013 14:44:58 +0200 |
parents | 530a941dbf79 |
children | 9409d00b9254 |
comparison
equal
deleted
inserted
replaced
67:530a941dbf79 | 69:ccb8e93b7eca |
---|---|
92 } | 92 } |
93 return repository.filter(mstId, uwbId, begin); | 93 return repository.filter(mstId, uwbId, begin); |
94 } | 94 } |
95 | 95 |
96 @POST | 96 @POST |
97 @Path("/create") | |
98 @Produces("text/json") | 97 @Produces("text/json") |
99 @Consumes("application/json") | 98 @Consumes("application/json") |
100 public String create(LProbe probe) { | 99 public String create(LProbe probe) { |
101 boolean success = repository.create(probe); | 100 boolean success = repository.create(probe); |
102 if(success) { | 101 if(success) { |