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

ASIHTTPRequest crashes if the response is late

I am using ASIHTTPRequest in my app,my app crashes if it gets the response late or if the network is slow. for the time being I change the defaultTimeOut=100, earlier it was 10,so its working fine,is there any other way to solve this?
Abhishek Sahay
  • 186
  • 2
  • 11
-1
votes
1 answer

Send data to Php server

I want to send lat long after 30 sec.... for that i am using, if (theDiff > 30.0f || myDate == nil){ //do your webservices stuff here NSLog(@"Location get ==================="); double lat = newLocation.coordinate.latitude; …
Siten
  • 4,515
  • 9
  • 39
  • 64
-1
votes
1 answer

Need help Cydia App Root Rights

i tried to download a File with ASIHTPP. I tried on my jailbroken Ipad and see that the Code download a File but no in the Documet Folder. So what is wrong? In Xcode is not a Error only a Warning that the documtensdirectory a unused variable is. -…
-1
votes
1 answer

ASIHTTPRequest as instance variable and deallocating and releasing

"Informazioni.h file" @interface Informazioni : UIViewController{ ..... ASIHTTRequest *mASIHTTPRequest; } @property (nonatomic, retain) ASIHTTRequest *mASIHTTPRequest; ---------------------------- #import "Informazioni.h" #import…
user966337
  • 11
  • 3
-1
votes
2 answers

uitablleview crashes when link datasource

I am calling a view that contains a tableview and is showed properly until I link datsource to file's owner and generates following SIGABRT error. I do not understand what is happening because I had set tableview in other views and works! Problem is…
Ruth85
  • 645
  • 2
  • 7
  • 12
-1
votes
1 answer

ASIHTTPRequest giving me problems

I have a code that sends POST data to a PHP website. Code: request = [ASIFormDataRequest requestWithURL:[NSURL URLWithString:@"http://www.example.com/Testing/Testing.php"]]; [request setPostValue:targettype forKey:@"targettype"]; [request…
Prajoth
  • 900
  • 3
  • 12
  • 26
-1
votes
1 answer

ASIHttpFormDataRequest notification when ends

How can I know when my ASIHttpFormDataRequest ends ? Actually I am doing two of them in a row. The first one consist in sending a message while the other one consist in retrieving all the messages from a database. Or it happens sometimes that my…
EricDumont
  • 23
  • 4
-1
votes
1 answer

ASIHTTPRequest help with setup on iPhone SDK?

I have created a new project in Xcode and performed the following to add ASIHTTPRequest: Copied these files into the main project…
Justine4601
  • 29
  • 1
  • 5
-1
votes
2 answers

PHP to JSON to iPhone

Possible Duplicate: Cannot Get ASIHTTPRequest callback delegate to trigger I have a php file which outputs the following JSON: [{"0":"5","questionId":"5","1":"Morning Heart Rate","question":"Morning Heart…
David
  • 59
  • 2
  • 6
-1
votes
1 answer

How to get the response string and parse it using ASIHTTPRequest?

I am using ASIHTTPRequest to connect to a web service. I am not getting what I should do next. When i run the code provided below I am not getting any output or response string. Program is running without any errors. What should I do to get the…
Abhilash
  • 638
  • 4
  • 11
  • 28
-1
votes
1 answer

Why do I still have mach-o linker errors in my iOS project even after removing the files that caused them?

These are the errors: Ld /Users/gearhead2727/Library/Developer/Xcode/DerivedData/TR-bwdsurqqtlxmnhdpvfqmdqftqsun/Build/Intermediates/TR.build/Debug-iphoneos/TR.build/Objects-normal/armv6/TR normal armv6 cd /Users/gearhead2727/Dropbox/TR …
Paluter
  • 1
  • 1
  • 1
-1
votes
1 answer

ASIHTTPREQUEST not working as expected in iOS 8.3

I have used asihttprequest classes in my app for calling web-api. But now it's not working in iOS 8.3 as well as in iOS 11+ and already full app was developed so can't change whole asihttprequest to afnetworking so I need some solution in…
Hardik Vyas
  • 1,973
  • 1
  • 20
  • 43
-1
votes
2 answers

Display records of next page in json in uitableview on scrolling the tableView when I reach the last record

I am trying to make an application that uses SBJSON and ASIHTTPRequest containing 273 pages (50 records in each page)in json. When I scroll the tableView I want to get next 50 records when I reach the last record.Currently I am getting only the…
Itaws
  • 330
  • 1
  • 22
-1
votes
1 answer

Unable to load MP3 file from web on iOS

The url is "http://pics2.xiaoma.com/xiaoma/bbs/app/tpo/ky/TPO27-3.mp3". This URL is a MP3 file and I am unable to play this normally. This is the code that I am using. Need guidance on what am I doing wrong here. + (ASIHTTPRequest…
zdy
  • 1
  • 4
-1
votes
1 answer

ASIHTTPRequest + SBJSon iphone

I am working with an application where I have to request a url and I get the response accordingly I am using ASIHTTPRequest to request the URL here is my request -(void)getTips { if ([CommonFunctions networkConnected]) { …
iDeveloper
  • 498
  • 4
  • 9