Questions tagged [asihttprequest]

ASIHTTPRequest, a deprecated and outdated framework to replace NSURLConnection on iOS and OS X.

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.

Homepage:

http://allseeing-i.com/ASIHTTPRequest/

Setup instructions:

http://allseeing-i.com/ASIHTTPRequest/Setup-instructions

How to use:

http://allseeing-i.com/ASIHTTPRequest/How-to-use

Source code:

http://github.com/pokeb/asi-http-request/tree

1323 questions
-1
votes
1 answer

How to upload String and Image using ASIFormDataRequest?

I want to upload follow Log Strings along with UIImage, HOw can I achieve such objective???? I can see to send only image , but i want to send image along with text data using this ASIFormDataRequest, using POST request type. NSLog(@"data is here…
Duaan
  • 609
  • 1
  • 13
  • 29
-1
votes
1 answer

ASIHTTPRequest vs AFNetworking framework for simple data post

I have tried ASIHTTTPRequest for a iOS App. ASIHTTPRequest does not support ARC. I heard about AFNetworking framework is newer than ASIHTTPRequest. Is it reliable to use in an app for post data?
Susitha
  • 3,339
  • 5
  • 27
  • 41
-1
votes
1 answer

JSON response from localhost in XCode iphone Simulator

I am trying to receive a JSON response in iPhone simulator using localhost web service. I turned on Web sharing and placed the php file named "readmain.php" in /Library/WebServer/Documents When i write "http://localhost/readmain.php" in Chrome, I…
Abdullah Umer
  • 4,234
  • 5
  • 36
  • 65
-1
votes
1 answer

ASIHTTPRequest not connecting using proxy parameters in iOS 5

The error code I'm receiving: Error Domain=ASIHTTPRequestErrorDomain Code=1 "A connection failure occurred" UserInfo=0x6993280 {NSUnderlyingError=0x6d520c0 "The operation couldn‚Äôt be completed. (kCFErrorDomainCFNetwork error 306.)" I do not…
-1
votes
1 answer

UIProgressView hides when scroll the tableview

In my iphone app i am having a button, when I click on the button, download operation starts and i am replacing the button with UIProgressView. This UIProgressView will show the download progress. But once a UIProgressView is added, when I scroll it…
-2
votes
1 answer

ASINetworkQueue some image download fails

I am downloading a bunch of images via ASINetworkQueue. I have no problems in the simulator, but on the iPad some of the images (each time they are different) are not downloaded. How can I fix this? Here is the code: Queue Creation: if…
bolshas
  • 101
  • 3
  • 15
-2
votes
2 answers

How can i use ASIHTTP Request in My Project?

Hi I want to Implement ASIHTTP Request in my Project so how can i implement it and how it is good compare to NSURLRequest?
Ankit Vyas
  • 7,507
  • 13
  • 56
  • 89
-2
votes
2 answers

How do I call a method from another method of the same NSObject?

I have two methods in my NSObject. I would like to know how to set the text in one method from another, and then execute that method from the one where I set the text? This is what I have done so far.. just getting abit lost trying to pass things…
C.Johns
  • 10,185
  • 20
  • 102
  • 156
-2
votes
2 answers

objective-c Replacing NSMutableURLRequest with ASIHTTPRequest

I am trying to replace my NSMutableURLRequest with an ASIHTTPRequest, I have tried the following below, but when I try this my app crashes. I get no errors just a warning: Incompatible pointer types sending 'ASIHTTPRequest *' to parameter of type…
user979331
  • 11,039
  • 73
  • 223
  • 418
-2
votes
1 answer

What API to use for uploading images to a Rails based website from an iPhone application?

Looking at using either ObjectiveResource or ASIHTTPRequest ... Which is superior for uploading images? Or is there a better option??? Are there any examples of using either or both to upload images (or any other binary content)? Thanks
wgpubs
  • 8,131
  • 15
  • 62
  • 109
-2
votes
1 answer

How can i delay image upload in ios

I am working on an app that allows a user to capture an image and upload it. The uploading process is done in the background, which means that while one upload is in progress, the user can capture and upload more images; or he can navigate to other…
-2
votes
1 answer

How to find percentage of image upload to server using NSMutableURLRequest request

I am sending image to server using NSMutableURLRequest Request(using Api call), I am sending each image at a time, can I find the percentage of image uploading to server, if so how can u please the code for that , and with that percentage i even…
KMKR
  • 109
  • 1
  • 12
-2
votes
1 answer

AFNetworking why parse server's json?

I use AFNetworking request server, but I get output like this: 2012-12-25 15:16:47.578 SmsForNewYear[3825:c07] <3c21444f 43545950 45206874 6d6c2050 55424c49 4320222d 2f2f5733 432f2f44 54442058 48544d4c 20312e30 20547261 6e736974 696f6e61 6c2f2f45…
19jk89
  • 13
  • 1
-2
votes
1 answer

Downloading files in two different folders ios

i have an iphone application, that downloads pdf file using a JSON file the JSON response looks like that { "resource_id":"1132", "name_en":"mpla mpla mpla", "name_cn":null, "product_id":"1064", "product":"mpla", …
Mpampinos Holmens
  • 1,879
  • 5
  • 18
  • 34
-3
votes
1 answer

Shopping cart iphone app

So this app is basically selling several products, users login to their account and start shopping. I am using paypal library to check out. Question is, is there any api that I can update the inventory and update the user purchase history? can…
kevin
  • 129
  • 2
  • 11
1 2 3
88
89