【发布时间】:2015-06-02 10:18:13
【问题描述】:
I have Url and parameter "data":
URL: http://www.xxxx.ru/mobile-api-v1/query/
data={«type":1,"body":{"sortType":0,"categoryId":0,"count":50,"authorId":0,"lastId":0}}
如何添加键“data=”?现在错误“错误请求”
【问题讨论】:
-
data是您的JSONObject。因此,您需要将所有值放入JSONObject并以原始数据格式发布该 json 对象。
标签: android json web-services