Hi,
Here i seen the reference
(https://www.aspsnippets.com/Articles/Call-WebService-ASMX-using-AngularJS-AJAX-and-JSON-in-ASPNet-using-C-and-VBNet.aspx)
Now i want to make it as an web API. How can i do that?
var post = $http({
method: "POST",
url: "Service.asmx/GetCurrentTime",
dataType: 'json',
data: { name: $scope.Name },
headers: { "Content-Type": "application/json" }
});
here i want to access data from an external url like www.example.com/Service.asmx/GetCurrentTime
Plese help me to make this..
Thank You