NSDictionary *dict=@{@"username":user,@"password":password};AFHTTPRequestOperationManager *manager=[AFHTTPRequestOperationManager manager];[manager GET:@":8080/Myweb/Webdo" parameters:dict success:^(AFHTTPRequestOperation *operation, id responseObject) {NSLog(@"success!!");}failure:^(AFHTTPRequestOperation *operation, NSError *error) {NSLog(@"%@",error);}];我不太会编辑csdn的文档,本文是在前文搭建的服务器上,在iOS端添加一个GET请求,,用于注册用户。
爱情不是避难所,想进去避难的话,是会被赶出来的。