I have a problem with sending a JSON to a Server with REST API. This is the code i use:
NSString *jsonPostBody = [NSString stringWithFormat:@\"\'json\' = \'{
I think you have to use a JSON framework and convert jsonPostBody to it's JSON representation before sending it. Check this accepted answer , it shows how to build the request.
jsonPostBody