background preloader

ASIHTTPRequest

Facebook Twitter

ASIHTTPRequest Documentation - All-Seeing Interactive. ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier.

ASIHTTPRequest Documentation - All-Seeing Interactive

It is written in Objective-C and works in both Mac OS X and iPhone applications. It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE). ASIHTTPRequest example code - All-Seeing Interactive. Creating and running requests Creating a synchronous request The simplest way to use ASIHTTPRequest.

ASIHTTPRequest example code - All-Seeing Interactive

Sending the startSynchronous message will execute the request in the same thread, and return control when it has completed (successfully or otherwise). Check for problems by inspecting the error property. To get the response as a string, call the responseString method. HTTPS - ASIHTTPRequest. Bloc-note d'un développeur iPhone.