Foxtable(狐表)用户栏目专家坐堂 → API调用实例问题


  共有2365人关注过本帖树形打印复制链接

主题:API调用实例问题

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107896 积分:548849 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/4/27 17:07:00 [显示全部帖子]

Dim hc As new HttpClient("http://orderprocesstest.haiziwang.com:8080/dap-web/pop/selectBusinessOrderList.Do")
Dim  js"loginName"": ""xxxxxxxxxx"", ......拼接json,或者使用jobject生成
hc.Content =jsonStr
Dim ret As String = hc.getdata()
output.show(ret)


 回到顶部
帅哥哟,离线,有人找我吗?
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107896 积分:548849 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/4/27 17:43:00 [显示全部帖子]

Dim hc As new HttpClient("http://orderprocesstest.haiziwang.com:8080/dap-web/pop/selectBusinessOrderList.Do")
Dim jstr As String="{'loginName':'w1000125', 'appkey': 'DAD3BBF2098B4F1B9F85B66523254F78', 'page': '1', 'pagesize': '10','startTime': '2016-04-19', 'endTime': '2016-04-22', 'dealState': '3', 'timeParamType': '1'}"
hc.content=jstr
Dim ret As String = hc.getdata()
output.show(ret)

 回到顶部