码迷,mamicode.com
首页 > 移动开发 > 详细

iosTest

时间:2015-08-06 13:01:24      阅读:112      评论:0      收藏:0      [点我收藏+]

标签:

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          }];

 

iosTest

标签:

原文地址:http://www.cnblogs.com/jinglecode/p/4707638.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!