到目前为止,我一直在使用objective-c 中的json(使用SBJson 类)从restAPI 接收数据。我现在正在尝试发送帖子数据,但我没有这方面的经验。原始主体如下所示:
  //http://www.myapi.com/api/user=123
  "Username": "foo",
  "Title": null,
  "FirstName": "Nick",
  "MiddleInitial": null,
  "LastName": "Foos",
  "Suffix": null,
  "Gender": "M",
  "Survey": {
         "Height": "4'.1\"",
         "Weight": 100,
               }
这种数据的最佳方式是什么?