Answer the question
In order to leave comments, you need to log in
How to work from Angular with HTTP Batch requests for ASP.NET WebApi 2?
Good afternoon everyone.
I am developing a project on AngularJS + ASP.NET MVC 5 framework.
There was such a problem: When you change some element in the system, you need to update a large amount of various data, which results in a large number of requests to the server.
As an optimization, I think to use HTTP Batch requests.
I want to make an interface like this
$httpBatch.Send(batchUrl, function(){
$http.get(url).success(function(){
// ... some data assignments
});
$http.post(url, data).success(function(){
// ... some data assignments
});
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question