iosTest
1 NSString * url = @"http://192.168.0.11:8000/InterfaceApp/Login?UserName=15995858188&Password=168168"; 2 3 AFHTTPRequestOperationManager * manager = [AFHTTPRequestOperationManager manager]; 4 [manager GET:url parameters:nil 5 success:^(AFHTTPRequestOperation *operation, id responseObject) { 6 NSLog(@"JSON: %@", responseObject); 7 }failure:^(AFHTTPRequestOperation *operation, NSError *error) { 8 NSLog(@"Error: %@", error); 9 }];