nsurlrequest Questions

3

Solved

Getting following error while consuming SOAP webservice in iOS App "No Action header was found with namespace 'http://www.w3.org/2005/08/addressing' for the given message." The same webservice w...
Seven asked 8/5, 2013 at 16:44

2

Solved

Does anyone knows if NSURLConnection/NSURLRequest have support for gzip requests. If does, can you provide more information?
Costar asked 21/4, 2010 at 11:36

3

Whenever I set a body on a mutable request with the method set to anything other than POST, the body is not included in the request and I get a kCFErrorDomainCFNetwork error 303 (kCFErrorHTTPParseF...
Lycurgus asked 12/8, 2010 at 14:58

2

Solved

I have an NSArray of links. I want to parse through them with an online article extractor API (Clear Read), and with the result given back for each article (some HTML) I throw it into an NSString. ...
Frescobaldi asked 24/3, 2013 at 3:31

2

Solved

I have an app which is entirely web-based and needs an internet connection to navigate around. Basically a website viewed through a UIWebView. I need to be able to tell the user that no page...
Niphablepsia asked 27/4, 2011 at 8:40

1

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....
Chamblee asked 12/2, 2013 at 9:7

3

I've been testing an iPhone view controller that uses a UIWebView to load external content, as opposed to resources in the project's bundle. Another engineer noticed that the web view wasn't cachin...
Mylesmylitta asked 25/7, 2011 at 17:39

1

I have a problem. I need to convert base64 string to JSON string and pass it to server. for example I have a base64 string /9j/4AAQSkZJRgABAQAAAQABAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAA...
Japhetic asked 9/5, 2012 at 21:26

1

Solved

I'd like to know what's happening behind the scenes when the user locks and unlocks the iPad screen. I have an app that downloads files using NSURLConnection and the downloads fail with a SOAP erro...
Frostbitten asked 6/11, 2012 at 19:56

3

Solved

I'm POST'ing a small image, so i'd like the timeout interval to be short. If the image doesn't send in a few seconds, it's probably never going to send. For some unknown reason my NSURLConnection i...
Confident asked 29/4, 2010 at 11:46

1

Solved

The following code successfully connects to my Ruby on Rails API and returns JSON using AFNetworking. What do I need to do to edit this to pass in a username and password so my API can use HTTP Bas...
Hardaway asked 15/9, 2012 at 18:40

3

Solved

I need to set timeout 15sec or 30 sec with UIRequest, but it always takes default one. Is there any way to set minimum timeout to connection.
Coition asked 30/7, 2012 at 9:0

3

Solved

I'm having trouble loading custom HTML into my UIWebView without breaking its goBack method. What Works I'm intercepting the URL requests of my UIWebView so I can load custom HTML. I have control...
Wikiup asked 24/1, 2011 at 2:18

2

I am loading a UIWebview and requesting a URL that can take some time to finish loading. The request starts and begins to receive data. However, it doesn't appear that the request finishes. The web...
Citified asked 10/12, 2009 at 20:44

2

I'm trying to disconnect or stop loading URL request in 15 secs, when internet connection get disconnected. i tried with setTimeoutInterval in NSURLRequest, which is not working. can any know how t...
Misusage asked 11/1, 2011 at 5:31

2

Solved

I have a tried and tested use of NSURLRequest (and accompaniments) implementation, that works great for GETs, and POSTs for a given URL. However, I want to now move the target of the URL without c...
Wellmeaning asked 28/5, 2012 at 10:57

6

Solved

I'm fairly new to objective-c, and am looking to pass a number of key-value pairs to a PHP script using POST. I'm using the following code but the data just doesn't seem to be getting posted throug...
Casilde asked 30/3, 2010 at 11:15

1

Solved

I have a shortened URL (e.g. t.co/12345678). I would like to resolve the redirect without having to the load the entire page via NSURLConnection. Obviously, I can get it by sending an NSURLConnecti...
Monostrophe asked 31/3, 2012 at 22:44

2

Solved

I'm not talking about a UIWebView, I want to open the mobile safari app using an NSURLRequest. Why? In my app, the user has already logged into our web server. I want to give the user the option o...
Ahlgren asked 26/3, 2012 at 22:38

2

I am implementing an iOS App that needs to fetch a huge amount of images over HTTP. I've tried several approaches but independently what I do, Instuments shows constantly increasing memory allocati...
Withoutdoors asked 7/2, 2011 at 14:13

1

Solved

I need help with trying to bypass/ignor a self signing certificate.. I have looked everywhere and cannot find anything that has worked for me thus far.. I am trying to implements this here howeve...
Oxa asked 27/2, 2012 at 1:27

1

First of all the questions are failry simiple.. if you just want to see what they are skip to the bottom of this post and you will see them in bold.. for more detail then you can read the rest of t...
Monaco asked 15/2, 2012 at 1:47

4

i have set up a nsurl which grabs the data from http. when i run instrument, it says i have a leak NSFNetwork object. and how do i release theConnection in (void)ButtonClicked? or it will be rele...

3

Solved

I am brand new to salesforce development and am trying to connect to Salesforce to get the token. I guess my question is 2 fold: 1) Do I have to use a webpage to authenticate with SF? 2) If not,...
Lifelike asked 11/2, 2011 at 15:4

1

Solved

I'm trying to send a multi-line post from an iPhone/iPad to a php service, the problem is that for some reason, the POST Content-Type seems to be application/x-www-form-urlenconded, ( I found out t...
Threatt asked 12/10, 2011 at 10:33

© 2022 - 2024 — McMap. All rights reserved.