Here is the situation :
I'm sending data as following :
NSMutableDictionary *postDictionnnary = [NSMutableDictionary dictionaryWithObjects:@[@"login",username,password]
forKeys:@[@"type",@"username",@"password"]];
NSData *requestBodyData = [NSKeyedArchiver archivedDataWithRootObject:postDictionnnary];
request.HTTPBody = requestBodyData;
Thanks !
try adding a method to request
request.HTTPMethod = @"POST"
In your php file, you should be able to retrieve your data using $_POST['key'];