Top "Nsurlrequest" questions

on iOS , NSURLRequest objects represent a URL load request in a manner independent of protocol and URL scheme.

How to add custom header to AFNetworking on a JSONRequestOperation

Hi, I have the following code accessing a URL: NSString * stringURL = [NSString stringWithFormat:@"%@/%@/someAPI", kSERVICE_URL, kSERVICE_VERSION]; NSURLRequest * request = […

ios objective-c json afnetworking nsurlrequest
Using NSURLRequest to pass key-value pairs to PHP script with POST

I'm fairly new to objective-c, and am looking to pass a number of key-value pairs to a PHP script using …

php iphone objective-c cocoa-touch nsurlrequest
How can I set the "User-Agent" header of a UIWebView in Swift

I am using Xcode 6 for an iOS App with Swift. I have got a simple ViewController with an embedded UIWebView. …

ios swift uiwebview user-agent nsurlrequest
Load UIImage from URL in iOS

I am trying to load a UIImage from its URL with completionand placeholder image , but neither the UIImage nor the …

ios objective-c swift3 nsurlrequest imageurl
UIWebView webpage caching for offline viewing

First of all, I'm pretty sure that I have checked every answer here and nothing does what I would like …

ios objective-c uiwebview nsurlrequest
Use a self-signed ssl certificate in an iphone app

I apologize in advance for the long-winded question. I'm having trouble with a self-signed SSL cert and I want to …

ios ssl ssl-certificate asihttprequest nsurlrequest
NSURLRequest Timeout IOS

I need to set timeout 15sec or 30 sec with UIRequest, but it always takes default one. Is there any way …

iphone ios ipad nsurlconnection nsurlrequest
NSURLConnection/NSURLRequest gzip support

Does anyone knows if NSURLConnection/NSURLRequest have support for gzip requests. If does, can you provide more information?

cocoa cocoa-touch gzip nsurlconnection nsurlrequest
NSURLRequest: How to change httpMethod "GET" to "POST"

GET Method, it works fine. url: http://myurl.com/test.html?query=id=123&name=kkk I do not have …

iphone ios post nsurlrequest
NSMutableURLRequest not obeying my timeoutInterval

I'm POST'ing a small image, so i'd like the timeout interval to be short. If the image doesn't send in …

nsurlconnection nsurlrequest nsmutableurlrequest