Send server http request with parameters (solved)
By Vandersteene
14 Sep 2013 03:08
English
1 Replies
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.
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------