ITeye博客

Three20 post 方式

mmdev · 2011-12-08 19:27 · Markdown

TTURLRequest *request = [TTURLRequest requestWithURL:url delegate:self];

TTURLDataResponse *response = [[[TTURLDataResponse alloc] init] autorelease];

NSString *body = [NSString stringWithFormat:@"seat=%@&chooseSeat=%@",seat,chooseSeat ];

request.httpMethod = @"POST";

request.httpBody = [body dataUsingEncoding:NSUTF8StringEncoding];

request.cachePolicy = TTURLRequestCachePolicyNoCache;

request.contentType = kDefaultContentType;

request.response = response;

request.userInfo = @"seatscheck";

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。