[英]IBM Worklight - Sending HTTP POST request from the client side
I have an application which needs to send an HTTP POST request from the client side to a server every half an hour. 我有一个应用程序需要每半小时从客户端向服务器发送一个HTTP POST请求。 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?
我的问题是如何通过Worklight从客户端向服务器发起HTTP Post请求?
Did you try adapters? 你试过适配器吗? Namely an http adapter.
即一个http适配器。
You start by reading the server-side development section of the IBM Worklight Getting Started page: 首先阅读IBM Worklight Getting Started页面的服务器端开发部分:
http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#server-side-development http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#server-side-development
Specifically, these modules: 具体来说,这些模块:
Each module has an exercise as well as a sample application. 每个模块都有练习和示例应用程序。
There is more information in the IBM Worklight Information Center . IBM Worklight信息中心提供了更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.