How to create Http Post data to the web server ?
Do you have an example related this issue ?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on what you want to send to the server. for instance: Image file or just Text(like that from a http form).
For an image file that is in the format UIIMage:
or
Set your remote url(for instance if you are using php)
The rest of the code:
The case of Just Text(Similar to the $_GET in php)
Prepare the data you want to send. For the first name from a form for instance
Uploading image file (the server side yourphpfile.php)
Sending text using http post (the server side yourphpfile.php)