iosTest

时间:2021-10-08 05:07:23
 NSString * url = @"http://192.168.0.11:8000/InterfaceApp/Login?UserName=15995858188&Password=168168";

     AFHTTPRequestOperationManager * manager = [AFHTTPRequestOperationManager manager];
[manager GET:url parameters:nil
success:^(AFHTTPRequestOperation *operation, id responseObject) {
NSLog(@"JSON: %@", responseObject);
}failure:^(AFHTTPRequestOperation *operation, NSError *error) {
 NSLog(@"Error: %@", error);
}];

相关文章