I have created azure Easy API on azure App services.How To get the API values from Easy API using angular Js.But now I am struggling To call API.For App services there is no app key i Don't know how to Call API.
Before i have Used Azure mobile services so i can Invoke API easily by following lines.it was easy for me.
var client = new WindowsAzure.MobileServiceClient(
"https://yourservice.azure-mobile.net/",
"API KEY");
client.invokeApi('commentsapi', {
method: 'GET'
}).done(function (response) {
success(JSON.parse(response));
});
Use the v2.0.0-beta release of azure-mobile-apps-client (available via npm) - copy the MobileServiceClient.min.js to your web area and include it - if you are building the app with webpack or browserify, you can just "require('azure-mobile-apps-client')".
You don't need an API key any more. Otherwise, your client looks good.