Created
January 8, 2015 21:07
-
-
Save abhirockzz/0a9a3ec0532b7af6734a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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