【发布时间】:2011-08-30 02:30:34
【问题描述】:
我正在使用“GET”类型的 JSON 格式的宁静 WCF 服务。 我想知道如何使用“POST”类型的服务,以便我可以发送大量数据。
这是我的“GET”类型代码:
NSURL *jsonURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.xxx.com /coffeeiphone/Service.svc/maintransactioninsert/%@/%@/%@",stockid,[format stringFromDate:selected],[quantity text], nil]];
NSString *jsonData = [[NSString alloc] initWithContentsOfURL:jsonURL];
【问题讨论】:
标签: iphone objective-c wcf rest post