我正在使用IBM Worklight 6.1为我的移动应用程序项目。我的问题是如何在适配器中发送帖子值?

function getUsername(userAlias,locale) {
    path = "rest-rib/service/Login/login_username";

    var input = {
        method : 'post',
        returnedContentType : 'json',
        path : path
    };


    return WL.Server.invokeHttp(input);
}
.

提前非常感谢。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top