I'm not at all sure where to get started with the following. Bascially the scenario Is, from my iPh开发者_高级运维one app I want to be able to login to a web form (via username/password combo) and perform another action. I want the process to be able to handle session persistence via cookies.
My first thoughts were to look at going down the cURL route as I have done similiar with Python/PHP. So basically is there a viable alternative in the Foundation Framework or is my best choice to look at compiling my own cURL framework?
Any help greatly appreciated.
Start here: Using NSURLConnection
Some related answers that might be helpful:
- Upload and download data from server with Cocoa Touch?
- HttpBasicAuthentication in IPhone
- NSURLRequest - encode url for NSURLRequest POST Body (iPhone objective-C)
- Google App Engine with ClientLogin Interface for Objective-C
精彩评论