---
title: "Three20 post 方式"
author: "mmdev"
date: "2011-12-08T19:27:00Z"
tags: []
slug: "three20-post"
draft: false
lastmod: "2011-12-10T16:07:57Z"
id: 1301294
url: "https://mmdev.iteye.com/blog/1301294"
---

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";