IBM Worklight - 从客户端发送HTTP POST请求 [英] IBM Worklight - Sending HTTP POST request from the client side
问题描述
我有一个应用程序需要每半小时从客户端向服务器发送一个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 - 从客户端发送HTTP POST请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!