IBM Worklight - Sending HTTP POST request from the client side

纵饮孤独 提交于 2019-12-13 02:24:57

问题


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?


回答1:


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

Specifically, these modules:

  • 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.

There is more information in the IBM Worklight Information Center.




回答2:


Did you try adapters? Namely an http adapter.



来源:https://stackoverflow.com/questions/17471483/ibm-worklight-sending-http-post-request-from-the-client-side

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!