1

I need to submit an HTML form on a website. It uses the post method. How can I post the form with the values of two UITextFields and submit the form using merely code. Then I need to get the response of the post in html. I don't have any code so far and I couldn't find anything on google! Could anybody please help me solve this problem? I need to submit this form without using a UIWebView. Thanks.

Peter DeWeese
  • 18,141
  • 8
  • 79
  • 101
Eli
  • 262
  • 5
  • 15

2 Answers2

1

Also have a look at ASIHttpRequest. This uses POST methods as well, and in my opinion much easier to use than NSURLRequest and NSURLConnection.

LJ Wilson
  • 14,445
  • 5
  • 38
  • 62
0

The best answer so far is here from another question, credit to Matt Gallagher from cocoa with love :D

Community
  • 1
  • 1
El Developer
  • 3,345
  • 1
  • 21
  • 40