IBM Worklight - 从客户端发送HTTP POST请求 [英] IBM Worklight - Sending HTTP POST request from the client side

查看:98
本文介绍了IBM Worklight - 从客户端发送HTTP POST请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序需要每半小时从客户端向服务器发送一个HTTP POST请求。然后,服务器将使用客户端发送的参数更新数据库。我的问题是如何通过Worklight从客户端向服务器发起HTTP Post请求?

I have an application which needs to send an HTTP POST request from the client side to a server every half an hour. The server would then update a database with the parameters sent by the client. My question is how do I initiate a HTTP Post request to the server from the client through Worklight?

推荐答案

首先阅读IBM Worklight入门页面的服务器端开发部分:

http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#server-side-development

You start by reading the server-side development section of the IBM Worklight Getting Started page:
http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#server-side-development

具体来说,这些模块:

  • HTTP adapter – Communicating with HTTP back-end systems
  • Invoking adapter procedures from client applications

每个模块都有练习和示例应用程序。

Each module has an exercise as well as a sample application.

IBM Worklight信息中心有更多信息

这篇关于IBM Worklight - 从客户端发送HTTP POST请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆