angularjs - Update several objects with REST API -
I would like to know whether there is a way to update a 'big' (and of course if this is a good practice ) (For example 100; for example) through a single REST API call.
I know that the REST API defines http, GET, POST, PUT, DELETE
At this time I ask individuals to push with each single object
P>
Can it cause lack of performance?
I found an article about the method HTTP, but I do not know what I want.
The techniques I am using: ASP.NET WEBAPI2 AngularJS
Should be the At the moment I call individuals PUT with each single object. Can it cause lack of performance? Yes, it does, for each request you have an overhead of information that has to be sent. HTTP-put and
posted way. But since you are updating a collection, see if you can update the archive and not every entry in it. If this is a collection like "Top 100 Movies in 2014", then this collection should have an ID.
Comments
Post a Comment