Ti.SDK 1.6.2
iOS 4.3
我有一个将发布数据作为多级数组接收的 Web 应用程序。
Array
(
[User] => Array
(
[name] => Josey Morton
[username] => jmorton
[password] => ########
)
[Product] => Array
(
[name] => Pro Drupal Development
[type] => Book
[price] => 49.99
)
)
然后,我的服务器端应用程序获取“用户”和“产品”的内容并以不同方式解析它们,将它们存储在各自的数据库中。
我的问题:
如何将这种格式作为 HTTPClient 发送参数传递,以便在服务器端不需要调整?