我必须将 json 发送到仅通过 POST 变量接受它的 Web 服务。
ASIFormDataRequest 坚持转义我的引号。
任何帮助,将不胜感激
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
NSString *body = [NSString stringWithFormat:@"{\"user\":\"username\",\"pass\":\"password\"}"];
[request setPostValue:body forKey:@"body"];
[request startSynchronous];
output: "{\"user\":\"username\",\"pass\":\"password\"}"