Top "Nsurlrequest" questions

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

ZIP file content type for HTTP request

I am sending a zip file to server via HTTPREQUEST. What should be the Content-Type HTTP header value for this …

ios http nsurlrequest
How to send json data in the Http request using NSURLRequest

I'm new to objective-c and I'm starting to put a great deal of effort into request/response as of recent. …

iphone objective-c cocoa-touch json nsurlrequest
Append data to a POST NSURLRequest

How do you append data to an existing POST NSURLRequest? I need to add a new parameter userId=2323.

ios objective-c nsurlrequest
NSURLConnection Using iOS Swift

I am trying to follow this tutorial and connect to a JSON api using Swift and NSURLConnection. I can see …

ios swift nsurlconnection nsurlrequest
Swift GET request with parameters

I'm very new to swift, so I will probably have a lot of faults in my code but what I'm …

ios swift get nsurlrequest
How To Check Response.statusCode in sendSynchronousRequest on Swift

How To check response.statusCode in SendSynchronousRequest in Swift The Code is Below : let urlPath: String = "URL_IS_HERE" var …

ios swift nsurlconnection nsurlrequest
NSData and Uploading Images via POST in iOS

I have been combing through the many many posts about uploading images via POST in iOS. Despite the wealth of …

iphone ios post nsdata nsurlrequest
Add HTTP Header to NSURLRequest

Is there any way to add HTTP header to NSURLRequest object? I used to add them in NSMutableURLRequest using: [request …

iphone objective-c http nsurlrequest
HTTP Status Code 411 - Length Required

I try to get data from server. I use NSURLConnectionDelegate, NSURLConnectionDataDelegate. There is code (Objective - C). -(void)sendRequest { …

ios objective-c nsurlconnection nsurlrequest http-status-code-411
Unsupported URL in NSURLRequest

If I run this request from my terminal I can see the JSON requests as normally: curl -XGET 192.168.0.6:8888/scripts/data/…

ios objective-c json nsurlrequest