0

I am calling Java Web service in iOS app by making NSURLRequest by posting web service URL. I am successfully able to get response data from NSURLResponse.

But my problem here is I have to send few parameters in in web service URl as query string, I want to compress this parameter which is NSString in objective C and retrieve it on server side and decompress it.

So I just want to know here is there any way I can compress NSString at iOS client layer and decompress it at Java web service level for further processing.

Paresh
  • 138
  • 1
  • 1
  • 8
  • Why do you want to compress, is the string huge ? – Krzysztof Oct 01 '14 at 10:39
  • Found answer to my own question as I was referring to below two links... https://stackoverflow.com/questions/3015904/compress-decompress-nsstring-in-objective-c-iphone-using-gzip-or-deflate?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa https://gist.github.com/yfnick/227e0c12957a329ad138 – Paresh Jun 06 '18 at 16:33

0 Answers0