nsurlrequest Questions
2
Solved
GET Method, it works fine.
url: http://myurl.com/test.html?query=id=123&name=kkk
I do not have concepts of POST method. Please help me.
How can I chagne GET method to POST method?
url: ...
Allyn asked 13/10, 2011 at 6:54
5
Solved
Alternative method for NSURLRequest's private "setAllowsAnyHTTPSCertificate:forHost:"?
My iPhone application was rejected solely for using the (very safe, it seems) private method +setAllowsAnyHTTPSCertificate:forHost: for NSURLRequest. Is there a non-private API to emulate this func...
Dais asked 4/1, 2010 at 19:25
1
Solved
I apologize in advance for the long-winded question. I'm having trouble with a self-signed SSL cert and I want to document everything I've tried so far.
I'm working on an app that communicates wit...
Midian asked 11/5, 2011 at 22:37
3
Solved
I make http request to the web server with this:
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString: @"http://server.com"]];
[request setHTTPMethod: @"P...
Fredi asked 5/5, 2011 at 10:29
1
I'm writing an application that connect with a server using NSURLConnection.
In the delegate method didreceiveresponse, if the status code is 404, I cancel the connection and I would like to show ...
Montanez asked 10/6, 2010 at 12:16
1
Solved
I need to pass Cyrillic characters as a parameter in a URL in my iPhone app. A sample URL looks like:
http://www.mysite.com/script.php?message=страшная
When I use this URL in my browser, it retur...
Gunning asked 12/10, 2010 at 5:32
3
I'm trying to figure out how to use the URL loading framework to load URLs taking advantage of caching.
I am using NSURLConnections and feeding them NSURLRequests. I have even set the cachePolicy ...
Bonham asked 8/12, 2009 at 21:35
1
Solved
I've got an URL like here. When I type that into Safari's address bar I see an result like "Error" or "OK".
So, how do I properly call that URL from within my code and get that result as a string?...
Tertullian asked 14/7, 2010 at 19:50
1
Solved
Morning Everyone,
I've been attempting to write an application that does some GETs from a remote Web Service that requires authentication. My main problem is that the majority of these remote serv...
Counterspy asked 1/6, 2010 at 12:16
1
Solved
The Situation
In my app, I am currently downloading an mp3 file (to docs directory) using [NSData dataWithContentsOfURL:URL], a method that works fine, but ties down the CPU, dissallowing screen up...
Lodestone asked 4/2, 2010 at 23:28
2
Solved
I have multiple views which make the same NSURLRequest/NSURLConnection request. Ideally, in order to get some code reuse, I'd like to have some sort of a "proxy" which does all the underlying work ...
Hostetler asked 24/12, 2009 at 18:2
3
Solved
I've a web service running on server which return data either in XML format or JSON format.
I wanted to request a JSON format but using HTTP Post method.
Overrun asked 5/11, 2008 at 1:41
© 2022 - 2024 — McMap. All rights reserved.