Eli
Eli

Reputation: 262

Posting a URL iPhone

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.

Upvotes: 1

Views: 95

Answers (2)

LJ Wilson
LJ Wilson

Reputation: 14427

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

Upvotes: 1

El Developer
El Developer

Reputation: 3346

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

Upvotes: 0

Related Questions