angularjs Rest API <p>I've read up many articles on angularjs and REST but could not found any solution. Through java script I am calling api method, which is routed method as:</p> <pre><code>[Route("api/Comments/{docId}/comment/{revId}/get/{size}/getNumber/{number}")] [HttpPost] public IEnumerable&lt;Student&gt; Get(int docId,int revId,int size, int number) { // loadienter code hereng list here return list.ToList(); } //java script code var url='api/students/' + docId + '/student/' + revId + '/get/'+size+'/getNumber/'+number'; $http.get(url).success(function (response) { if (callback) callback(response.result); }; </code></pre> <p>But the method in controller class is not executing..How to solve this issue? P Please give me some suggestions..</p>