News for hackers. Stuff that matters.
Re:Microsoft REST API Guidelines by felixfbecker on Saturday November 23, 2019 @05:37AM (#21613447)
If you don’t need it to be atomic, you can just make parallel requests. Should not be an issue with HTTP/2
Re:Microsoft REST API Guidelines by charrondev on Saturday November 23, 2019 @04:13PM (#21616592)
Except now your server has to handle a lot more connections.

Was recently dealing with a list of 100+ simple text fields each with unique identifying meta info.

Most usage of the form would only involve updating a few at a time, but on initial entry or a large update all of them could be updated or deleted.

A RESTful approach would have me submit 100+ individual PUT requests. However for a smaller instance of our server it would likely be affected by 100s of requests at a time and it would significantly complicate the client code to make all of these requests at a time and do the error handling for it.

It’s actually a small payload, even with 100 items, so it’s ridiculous to send them individual in order to be “correct” if it

- leads to a worse user experience. - increases load on the server. - complicates the codebase.