I get an error while I send Json data to server. I used the following code to change the NSMutableDictionary To JSON.
NSString* jsonString1 = [postDict JSONRepresentation];
NSLog(@"%@",jsonString1);
JSON Format:
{"user_email":"[email protected]","firstname":"nivrit","user_password":"1234","confirm_passward":"1234"}
I use the following method to send this JSON format to server:
NSMutableDictionary *responseDict =
(NSMutableDictionary *)[[mWebServiceHelperOBJ
makeCallToURL:@"register.php"
withDataPost:jsonString1] JSONValue];
When I implemented this code I received this issue
incompatible pointer type sending NSString to parameter of type NSMutableDictionary.