摘要: get主要负责查询,安全性低,操作方便; post安全性高,操作如下:NSMutableURLRequest*request=[[[NSMutableURLRequestalloc]init]autorelease];//设置提交目的url[requestsetURL:[NSURLURLWithString:kUserLoginCheckUrl]];//设置提交方式为POST[requestsetHTTPMethod:@"POST"];//设置http-header:Content-Type//这里设置为application/x-www-form-urlencoded,如 阅读全文
posted @ 2013-01-16 14:26 xcy617 阅读(484) 评论(0) 推荐(0)