What is ASIHTTPRequest?
What is ASIHTTPRequest? how do we use it in an iphone appl开发者_JS百科ication? what are the files we need to include? Does Apple provide files for this?
Read the ASIHTTP from here you will be able to know what is it and how to use it....it is use to get the request from the server and post request to server
Good Luck!
What is ASIHTTPRequest?
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. It is written in Objective-C and works in both Mac OS X and iPhone applications.
—— from https://allseeing-i.com/ASIHTTPRequest/
A (BSD licensed) wrapper to facilitate the use of CFNetwork. Commonly, it is used to deal with HTTP requests.
The documentation explains how to use it. As ASIHTTPRequest is not an Apple product, Apple doesn't provide files for this.
This is what the ASIHTTPRequest documentation page says.
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. 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). The included ASIFormDataRequest subclass makes it easy to submit POST data and files using multipart/form-data.
Also, ASIHTTPRequest page says Please note that I am no longer working on this library - you may want to consider using something else for new projects. :)
RestKit might be an alternative.
精彩评论