Ibm mobilefirst MFP 6.3-WL.Client.makeRequest-已弃用
Ibm mobilefirst MFP 6.3-WL.Client.makeRequest-已弃用,ibm-mobilefirst,mfp,Ibm Mobilefirst,Mfp,WL.Client.makeRequest()MFP 8.0中不推荐使用该函数。这个函数有什么用途?如果你有任何文件,请与我分享 MFP 8.0中的正确解决方案是什么 运行迁移命令后mfpmigrate scan。我越来越像这样了 Create a custom adapter that provides the same functionality 请给出与功能相关的任何文档,以及MFP 8.0中的替代解决方案 谢谢, Karthik S.WL.Client.makeRequest()API
WL.Client.makeRequest()
MFP 8.0中不推荐使用该函数。这个函数有什么用途?如果你有任何文件,请与我分享
MFP 8.0中的正确解决方案是什么
运行迁移命令后mfpmigrate scan
。我越来越像这样了
Create a custom adapter that provides the same functionality
请给出与功能相关的任何文档,以及MFP 8.0中的替代解决方案
谢谢,
Karthik S.
WL.Client.makeRequest()
API允许对端点进行出站调用
在MFP8.0中,应该改用
WLResourceRequest
API。API文档。WL.Client.makeRequest()
API允许对端点进行出站调用
在MFP8.0中,应该改用WLResourceRequest
API。API文档
WL.Client.makeRequest()该函数在MFP 8.0中被弃用
在IBM移动第一基金会8中,您必须安装<强> MFPDEV CLI <强> >强> CorddovApple MFP<强>,然后使用<强> WLRealCurriste> <强>。请参见示例:
var resourceRequest = new WLResourceRequest(
"/adapters/JavaAdapter/users",
WLResourceRequest.GET
);
var formParams = {"param1": "value1", "param2": "value2"};
resourceRequest.sendFormParameters(formParams);
resourceRequest.send().then(
onSuccess,
onFailure
)
我建议你参观一下MaveLe1.1基金会8从早期版本的迁移。请看这里:
从早期版本迁移:
迁移现有Cordova和混合应用程序:
创建提供相同功能的自定义适配器
了解如何在IBM MobileFirst 8.0中创建自定义适配器:
WL.Client.makeRequest()该函数在MFP 8.0中被弃用
在IBM移动第一基金会8中,您必须安装<强> MFPDEV CLI <强> >强> CorddovApple MFP<强>,然后使用<强> WLRealCurriste> <强>。请参见示例:
var resourceRequest = new WLResourceRequest(
"/adapters/JavaAdapter/users",
WLResourceRequest.GET
);
var formParams = {"param1": "value1", "param2": "value2"};
resourceRequest.sendFormParameters(formParams);
resourceRequest.send().then(
onSuccess,
onFailure
)
我建议你参观一下MaveLe1.1基金会8从早期版本的迁移。请看这里:
从早期版本迁移:
迁移现有Cordova和混合应用程序:
创建提供相同功能的自定义适配器
了解如何在IBMMobileFirst 8.0中创建自定义适配器:Gaurab Kumar,感谢您的解决方案。我知道MFP8.0。但是我不知道makeRequest()的正确替换方法。现在我知道WLResourceRequest是makeRequest的正确替代品。谢谢,高拉布·库马尔,谢谢你的解决方案。我知道MFP8.0。但是我不知道makeRequest()的正确替换方法。现在我知道WLResourceRequest是makeRequest的正确替代品。谢谢