diff --git a/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java b/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java index 25c8ae543..a563e3505 100644 --- a/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java +++ b/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java @@ -74,9 +74,9 @@ void updateAccess(@PathParam("id") int id, @QueryParam("access") Access access); @POST - @Path("test/{test}") + @Path("test") @Consumes(MediaType.APPLICATION_JSON) - Response add(@PathParam("test") String testNameOrId, + Response add(@QueryParam("test") String testNameOrId, @QueryParam("owner") String owner, @QueryParam("access") Access access, @QueryParam("token") String token,