Skip to content

Instantly share code, notes, and snippets.

@cagataygurturk
Created February 16, 2017 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cagataygurturk/170250f4075665ae1a60a631c2f94947 to your computer and use it in GitHub Desktop.
Save cagataygurturk/170250f4075665ae1a60a631c2f94947 to your computer and use it in GitHub Desktop.
@GET
@Path("/helloworld/{id}")
public Response indexEndpoint(@PathParam int id) {
return Response.status(200).entity("Hello world: " + id).build();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment