I run this code and find work.
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; manager.responseSerializer = [AFHTTPResponseSerializer serializer]; [manager GET:@"http://128.199.94.58/test/bt/client_token.php" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) { NSDictionary* json = [NSJSONSerialization JSONObjectWithData:responseObject options:kNilOptions error:nil]; self.clientToken = json[@"customerID"]; NSLog(@"Client Token received."); } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
Answer:
json: { customerID = "=="; }
It may be work for you.
Lalji source share