I have controller name "Products" in backend and when I will request data in the Client Side as:
var uri = 'api/products';
$.getJSON(uri)
.done(function (data) {
// On success, 'data' contains a list of products.
$.each(data, function (key, item) {
// Add a list item for the product.
$('<li>', { text: formatItem(item) }).appendTo($('#products'));
});
});
I'm calling it using an AJAX call and all works fine locally.
But when I publish it in azure its not working...
So friends kindly help me with this situation.