Worklight http adapter questions

后端 未结 5 2079
南方客
南方客 2021-01-14 16:23

2 simple questions :

  1. Do all http requests make thru http adapter do go thru the worklight server first?

  2. If so then does it mean even a http

5条回答
  •  礼貌的吻别
    2021-01-14 17:21

    If you use the adapter API on the client side then your request with go through the Worklight server. You can still make AJAX requests from the client side and skip the server. Essentially you'd be making server requests in the same way you would in Cordova, which means using a whitelist to allow your requests to access third party servers.

提交回复
热议问题