在Kony应用程序中必须使用Kony中间件吗? [英] Is it mandatory to use Kony middleware for Kony application?

查看:87
本文介绍了在Kony应用程序中必须使用Kony中间件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Kony Studio创建一个跨平台应用程序.我们正在准备好后端和Web服务.

I am creating a Cross platform application using Kony Studio. We are having our backend and web services ready.

我们可以在不访问Kony中间件的情况下使用相同的服务吗?

Can we consume same services with out accessing Kony middleware?

如果是,请提供一些示例代码和教程.

If yes, can you please help with some sample code and tutorials.

推荐答案

我们可以使用 HTTPRequest API

var request = new kony.net.HttpRequest();
request.onReadyStateChange = callbackHandler1;
request.open(constants.HTTP_METHOD_GET, service_url);
request.send();

您将在通话中得到结果.浏览文档以获取完整的详细信息.

You will get the result in the call. Go through the documentation for complete details.

这篇关于在Kony应用程序中必须使用Kony中间件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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