Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Path("info")
@GET
@Produces("application/json")
public Response getTweeterInfo(@QueryParam("tweeter") String tweeterId){
//fetch details for abhi_tweeter
}
@Path("info/{tweeter}")
@GET
@Produces("application/json")
public Response getTweeterInfo(@PathParam("tweeter") String tweeterId){
//fetch details for abhi_tweeter
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment