Skip to content

Commit

Permalink
URL comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Feb 1, 2024
1 parent 01f79d3 commit cda716d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public ServiceMapRedisRest( SimpleServiceMap serviceMap ) {
this.serviceMap = serviceMap;
}

/*
* http://localhost:8080/service/redis/set/myKey/myValue
*/

@GET
@Produces(MediaType.APPLICATION_JSON)
@APIResponse(responseCode = "200", description = "Operation OK!",
Expand All @@ -42,6 +46,10 @@ public Response redisSet( @PathParam("key") String key, @PathParam("value") Stri
return Response.ok().entity(sr).build();
}

/*
* http://localhost:8080/service/redis/get/myKey
*/

@GET
@Produces(MediaType.APPLICATION_JSON)
@APIResponse(responseCode = "200", description = "Operation OK!",
Expand Down

0 comments on commit cda716d

Please sign in to comment.