Question 5
Your custom component service is built from the mcebots.js starter template in the omce-bots-samples, which you can download from the Oracle Technology Network. One of your custom components needs to access a shared custom API in Oracle Mobile Cloud Enterprise.
Which is the correct way to call a custom API?
req.oracleMobile().custom.<capi name>.<http method>(…)
conversation().oracleMobile.custom.<api name>.<http method>(…)
req.oracleMobile.custom.<api name>.<http method>(…)
conversation.oracleMobile().custom.<api name>.<http method>(…)
Correct answer: C
Explanation:
Reference: https://docs.oracle.com/en/cloud/paas/mobile-hub/develop/calling-apis-custom-code.html#GUID-4D239FC0-A51E-4776-8339-ABA666EA4D05
Reference: https://docs.oracle.com/en/cloud/paas/mobile-hub/develop/calling-apis-custom-code.html#GUID-4D239FC0-A51E-4776-8339-ABA666EA4D05