1

I use the ASIHttpRequest in my ios project, and my workmate use the Tastypie as the server, he told me I must post a String with JSON format as Http body(use application/json), but I can't find this Content-Type besides "application/x-www-form-urlencoded" and "multipart/form-data".

then How can I send a POST request with JSON format in ASIHttpRequest?

Praveen Kumar Purushothaman
  • 164,888
  • 24
  • 203
  • 252
Lugede
  • 11
  • 1
  • possible duplicate of [ASIHTTPRequest post json to php server](http://stackoverflow.com/questions/5338001/asihttprequest-post-json-to-php-server) – JosephH May 25 '12 at 11:07
  • possible duplicate of http://stackoverflow.com/questions/6589048/asihttprequest-returning-html-instead-of-json – JosephH May 25 '12 at 11:07

0 Answers0