• Post Reply Bookmark Topic Watch Topic
  • New Topic

Parse incoming http request body

 
kalyan enganti
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI I am teaching myself android development.To start with I have implemented a webserver on android using apache http utils, which serves a login page.I would like to know how can I parse the login form on android server side .This web server serves content on the fly based on the uri requested.Say when the login page is submitted the form is posted to /login.do on the localhost:8080.I have registered a handler for that action as shown below.I was wondering if there is a way to parse the request body in my handler and serve the html accordingly.I have only one field in the form to parse namely password.Any ideas or pointers in the right direction would be greatly appreciated.Thanks

 
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!