Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Path("info/{tweeter}")
@POST
@Consumes("application/x-www-form-urlencoded")
public Response postInfo(@FormParam("tweeter_id") String id, @FormParam("tweeter_email") String email){
//use the injected values from HTML form attributes tweeter_id and tweeter_email
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment