问题
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