开发者

iPhone > Submitting a web form, handle cookies

开发者 https://www.devze.com 2022-12-10 08:11 出处:网络
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 pe

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
0

精彩评论

暂无评论...
验证码 换一张
取 消