It is amazing to me that almost nobody here actually questioned the wisdom of throwing out the time tested benefits of robustness of REST in exchange for that which REST was created to eliminate; the fragility of RPC. And all because using RPC is easier in the moment (vs. over time.)
This reminds of of the old saw "Those who ignore history are doomed to repeat it."
If you are unaware of the benefits, here are a just few links that can explain it:
- https://www.quora.com/What-are-the-advantages-of-REST-over-a...
- https://www.quora.com/What-is-the-difference-between-REST-an...
- http://duncan-cragg.org/blog/post/getting-data-rest-dialogue...
- https://apihandyman.io/do-you-really-know-why-you-prefer-res...
- https://www.quora.com/What-are-the-pros-and-cons-of-REST-ver...