Getting HTML source(NSData) from website that needs logging in (iphone)
Posted
by Jonathan
on Stack Overflow
See other posts from Stack Overflow
or by Jonathan
Published on 2010-05-03T14:10:06Z
Indexed on
2010/05/03
14:38 UTC
Read the original article
Hit count: 277
NSData *data = [[NSData alloc] initWithContentsOfURL:url];
Url is an NSURL and it works fine. However I'd like to get the HTML (data) after I've logged in.
So the website has a standard way of logging in with 2 textboxes and a submit action on the form.
So how can I log in then get the HTMl source so I can parse it. Do i have to use something other than NSData?
© Stack Overflow or respective owner