Top "Nsurlconnection" questions

An NSURLConnection is the Apple Foundation Framework class that provides support to perform the loading of a URL request.

SSL Error in Connection to Server through iPhone

I am trying to establish a HTTPS connection to a server using my app. But the connection fails due to …

ssl https nsurlconnection nsurlrequest
NSURLConnection : JSON text did not start with array or object and option to allow fragments not set

I get the following error from NSURLConnection connectionDidFinishLoading "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not …

ios objective-c json xcode nsurlconnection
What does NSURLConnection's error code "-1009" mean?

When I send a request and get an error with the error code -1009, what does that mean? I'm not …

ios macos cocoa cocoa-touch nsurlconnection
Managing multiple asynchronous NSURLConnection connections

I have a ton of repeating code in my class that looks like the following: NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:…

objective-c iphone cocoa cocoa-touch nsurlconnection
NSMutableURLRequest timeout interval not taken into consideration for POST requests

I have the following problem. On a NSMutableURLRequest using the HTTP method POST the timeout interval set for the connection …

ios objective-c post nsurlconnection
Changing the userAgent of NSURLConnection

Hey I am using a NSURL Connection to receive data. [NSURLConnection sendSynchronousRequest: //create request from url [NSURLRequest requestWithURL: //create url …

iphone cocoa cocoa-touch nsurlconnection
Request with NSURLRequest

I'm trying do to an app which uses a database (actually in my localhost), I tried with ASIHTTPRequest but having …

objective-c ios nsurlconnection nsurlrequest
NSURLErrorDomain error -1012

I need to parse a xml file from a password protected URL I tried the following NSURLCredential *credential = [NSURLCredential credentialWithUser:@"…

iphone ios nsurlconnection nsurlrequest nsurlcredential
Read NSURLresponse

i am sending an object to this adrees : https://sandbox.itunes.apple.com/verifyReceipt with NSUrlconnection and i am trying …

ios objective-c xcode cocoa-touch nsurlconnection
How to use NSURLRequest / NSURLConnection to download an mp3 file to app?

The Situation In my app, I am currently downloading an mp3 file (to docs directory) using [NSData dataWithContentsOfURL:URL], a …

iphone xcode nsurlconnection nsurlrequest