What is ASIHTTPRequest?

What is ASIHTTPRequest? How do we use it in iphone application? What files should we include? Are Apple files for this?

+6
iphone nsoperation
source share
3 answers

Read ASIHTTP here , you can find out what it is and how to use it .... this use receive a request from the server and send a request to the server

Good luck

+14
source

What is ASIHTTPRequest?

ASIHTTPRequest is an easy-to-use CFNetwork API wrapper that simplifies some of the more tedious aspects of interacting with web servers. It is written in Objective-C and works on both Mac OS X and iPhone.

- from https://allseeing-i.com/ASIHTTPRequest/

+2
source

A (licensed BSD) shell to facilitate the use of CFNetwork. Typically, it is used to process HTTP requests.

The documentation explains how to use it. Since ASIHTTPRequest is not an Apple product, Apple does not provide files for this.

Here's what the ASIHTTPRequest documentation page says.

ASIHTTPRequest is an easy-to-use CFNetwork API wrapper that simplifies some of the more tedious aspects of interacting with web servers. It is written in Objective-C and works on both Mac OS X and iPhone.

It is suitable for making basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE). The included subclass ASIFormDataRequest simplifies sending data and POST files using multipart / form-data.


In addition, the ASIHTTPRequest page says Please note that I am no longer working on this library - you may want to use something else for new projects. :)

RestKit may be an alternative.

0
source

All Articles