I need to control a website that is loaded into a UIWebView like sending post data and using get requests. After each request the response should be loaded as a string into a variable.
The reason for this is that I'm trying to fetch data from a website that has no public web api and using cookie based user authentication. So I want to login the user, fetch some data from that site and present the results.
Is something like this posible?
EDIT: I just came across the method stringByEvaluatingJavaScriptFromString. Would it be posible to use this method to control the content within the UIWebView with JS? Like submitting a web form and wait for the page to finish loading and getting the response data?
EDIT 2: Just found a framework that might be helpful ASIHTTPRequest