Questions tagged [nsurlrequest]

on iOS , NSURLRequest objects represent a URL load request in a manner independent of protocol and URL scheme. NSURLRequest encapsulates two basic data elements of a load request: the URL to load, and the policy to use when consulting the URL content cache made available by the implementation.

1095 questions
0
votes
0 answers

Check reachability for internet access proxy

I have read number of questions related with Reachability but i have new case can summarized below :- I have connect to WiFi-network. This network need access Username & Password to access internet such as cafes . I try used Reachability &…
wod
  • 812
  • 1
  • 10
  • 23
0
votes
1 answer

How to pass parameters in Php web service?

I am working on an app in which I have to call a PHP web service. I am passing all the mentioned parameters, but still the response is giving the output for no empty string. These are the following parameters for PHP web service: method: POST…
rohan panchal
  • 881
  • 3
  • 15
  • 32
0
votes
1 answer

Loading multiple images from the webservice faster

I want to load multiple images from the JSON webservice to my app. These images serve as thumbnails to a "Store" in my app. So when the user clicks a button to go to the "Store", a request is being made. And this request is repeated every time the…
Anna Fortuna
  • 1,071
  • 2
  • 17
  • 33
0
votes
1 answer

download files using http request in background in iPhone (above iOS 4.0)

I am new to iOS. I want to know some basic need for my application is possible or not? "When my application starts (tapping on my application icon), app should download some 5-10 files from server. It should continue its downloading in background…
Khushbu Shah
  • 1,603
  • 3
  • 27
  • 45
0
votes
1 answer

NSMutableURLRequest on succession of another NSMutableURLRequest's success

Basically, I want to implement SYNC functionality; where, if internet connection is not available, data gets stored on local sqlite database. Whenever, internet connection is available, SYNC gets into the action. Now, Say for example; 5 records are…
viral
  • 4,168
  • 5
  • 43
  • 68
0
votes
1 answer

How to get an OAuth2 token using UIWebView and NSURLRequest?

I am trying to retrieve an access token for the Facebook API using just a UIWebview and NSURLRequests. Because I'd also like to do this with Twitter and Google plus I don't want to include the whole SDK of Facebook in my app. All I need is the…
Dario
  • 65
  • 4
0
votes
2 answers

Bug in NSURLRequest or AFNetworking?

Not sure if this is a bug or I am missing something, most likely latter. My AFHTTPClient's base url is: #define kBaseURL @"http://localhost:4567/api/" self.client = [[AFHTTPClient alloc] initWithBaseURL:[NSURL URLWithString:kBaseURL]]; When I make…
0xSina
  • 20,973
  • 34
  • 136
  • 253
0
votes
1 answer

ipad: read file which is on a shared network drive

I'm writing an iPad App, which downloads Files from a DMS (over https). This works fine. But now I need to download large video files from a shared network drive over a vpn connection. When I create an NSURL object with [NSURL…
mike
  • 15
  • 3
0
votes
1 answer

NSURLMutableRequest with POST method and PHP

So I fixed the question codes with the new code that works and also changed the Title of the question for other people to be assist by it. My problem was that inside the application i'm using in POST method, but on the PHP side, I'm using in GET…
ytpm
  • 4,962
  • 6
  • 56
  • 113
0
votes
2 answers

Error while calling web service, operation can not be completed

I am call web-service and I am getting 0 bytes in response as well as getting error like below: Error Domain=kCFErrorDomainCFNetwork Code=303 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 303.)" UserInfo=0xa9b8ef0…
Hindu
  • 2,894
  • 23
  • 41
0
votes
1 answer

Fetching Facebook Open Graph Data via NSURLRequest

How can I retrieve data from the Graph API using NSMutableURLRequest? I already have a valid access token and I need to fetch basic user information such as birthday, ID, picture or first/last name. In the accounts framework you can create a…
Dario
  • 65
  • 4
0
votes
1 answer

NSURLRequest Error: "[CoreData length]: unrecognized selector sent to instance"

I've got a link that I'm scanning in a QR Code scanner in another view, which is then saved to Core Data. The entity in which I'm saving it is called "BarCode", with the attribute, "number". The result of the fetch that you will see in a minute is…
jakenberg
  • 2,125
  • 20
  • 38
0
votes
1 answer

Making TableView Pull from 1 of 2 NSURLRequests

I am having trouble telling my table view which NSURLRequest it should target. I can get a basic table view to load with a single query, but am trying to make it pull the json string from a different URL if certain segmented controls are active.…
Brandon
  • 2,163
  • 6
  • 40
  • 64
0
votes
2 answers

Pure C++ equivalent for NSURLConnection and NSURLRequest

I am porting a game using native C++ for Android. I need to know which method I should use to achieve the same functionality as NSURLConnection and NSURLRequest in only C++. Also how to get all the following delegate functions implemented for…
user1908860
  • 509
  • 1
  • 9
  • 19
0
votes
1 answer

How to request only part of the information sent with a NSURLRequest

Let's say that I need to get a NSURLRequest that will return a HTML page.But I need to read only part of the information, because the page is too huge: about 55 KB and I am doing it in the main thread (my bad, I should have done this in another…
Ramy Al Zuhouri
  • 21,580
  • 26
  • 105
  • 187