How to call a custom function of Azure Mobile Service from Cordova mobile app?

∥☆過路亽.° 提交于 2020-01-07 01:53:11

问题


I am developing a Cordova-Ionic App with Azure Mobile Service(.Net) as backend. I want to call a function that is written in Service. e.g an email want to send from the service when user press a button in mobile app. So the function to send email is written in Service. How to call the function from the Cordova App? Can anybody help please


回答1:


You should define a custom API on the server and call it using invokeAPi in the client SDK:

  • How to: Define a custom API controller

  • Calling custom APIs in Cordova



来源:https://stackoverflow.com/questions/38005915/how-to-call-a-custom-function-of-azure-mobile-service-from-cordova-mobile-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!