Send server http request with parameters (solved)

Send server http request with parameters (solved)

BY 14 Sep 2013 Native Application Development

For my app I need to send a HTTP POST request to the server with a number of parameters like ‘user=somebody&password=secret’.

I looked through the Tizen documentation and understand that I need to create a HttpSession, get a HttpTransaction and then get a HttpRequest which I can submit and monitor through the IHttpTransactionEventListener interface.

My question is how should I add the parameters to the HttpRequest so that the server can process the information and send back a response.

With a HttpUrlEncodedEntity it is possible to add parameters to the HttpRequest.

Written by