Questions tagged [nsmutableurlrequest]

NSMutableURLRequest is a subclass of NSURLRequest provided to aid developers who may find it more convenient to mutate a single request object for a series of URL load requests instead of creating an immutable NSURLRequest for each load.

Information : NSMutableURLRequest Class Reference

370 questions
-1
votes
1 answer

how to calculate sum of list values in single column in Tableau

I have to calculate sum of CCA + Exgratia + Gratuity+ HRA + LTA + Medical but these values are stores in single column "Allow amt" for all Employees and Allow Desc contains CCA , Exgratia , etc,.. https://i.stack.imgur.com/OwAEt.png
Ravichand
  • 1
  • 2
-1
votes
5 answers

NSMutableURLRequest POST method with multiple objects

Below is my POST request example which saves Employee details. This work fine and I'm sending individual employee details. But what if I have to save more then one Employee details...do I have to call below method those many time's ... How can I…
user2813740
  • 517
  • 1
  • 7
  • 29
-1
votes
1 answer

Unexpectedly found nil while unwrapping an Optional value - NSMutableURLRequest

When I try to run the below code snippet it works ! let urlWithParams = "http://192.168.0.4:3003/manager/all" let request = NSMutableURLRequest(URL: NSURL(string: urlWithParams)!) But when I get the string from Settings.bundle Textfield…
Abiranjan
  • 507
  • 4
  • 18
-1
votes
3 answers

NSMutableRequest not working for the second time (ARC enabled)

I am performing JSON POST request by clicking UIButton and after the submission, segue perform can be done. So, After submitting values, I cannot perform POST request anymore. It shows status code 200 and response is OK. But, data is not reflected…
-1
votes
1 answer

Bearer {token) with NSMutableRequest?

I need to call the service with pass the access token in the header. But i thing the token is not going on the header. I am not getting the responce. what am i doing wrong? Code +(void)getUserwithToken:(NSString *)token{ NSMutableURLRequest…
Raj Sharma
  • 11
  • 4
-1
votes
1 answer

Run two urls with NSMutableURLRequest

i've working on the below code to send image to web server. its working fine. i need to run two urls at time with single NSMutableURLRequest. NSString *requestString =[NSString…
GPR
  • 91
  • 9
-1
votes
1 answer

Sending JSON through POST not working - Objective C

I am sending a JSON string to our server using the POST method. What should happen is that it should return a response showing "Array(JSON String) Array(JSON String)". The response contains two arrays: The first array is populated if I used the POST…
user1412469
  • 279
  • 5
  • 17
-2
votes
1 answer

Cant Post To Server Well

i am trying to post to a server in the following code. i cant receive the response that i need to get. think i am making something wrong, need some help NSString *uuid = @"acdede9b-6fa6-44d0-8837-cd11771139be"; NSString *rec =…
orthehelper
  • 4,009
  • 10
  • 40
  • 67
-2
votes
2 answers

objective-c Replacing NSMutableURLRequest with ASIHTTPRequest

I am trying to replace my NSMutableURLRequest with an ASIHTTPRequest, I have tried the following below, but when I try this my app crashes. I get no errors just a warning: Incompatible pointer types sending 'ASIHTTPRequest *' to parameter of type…
user979331
  • 11,039
  • 73
  • 223
  • 418
-2
votes
1 answer

Objective c uploading multiple files to server

In my app i need to upload a audio file and xml file to server. I successfully post audio file. But i don’t know how to send two files in parallel. Anyone please help me. NSString *soundFilePath = [[self GetDocumentDirectory] …
AKS
  • 145
  • 2
  • 10
1 2 3
24
25