logoalt Hacker News

nhumrich • today at 2:50 AM • 1 reply • view on HN

The more I learn about the "advantages" of these non rest frameworks, the more I think people really don't understand REST. "All that json just for a username".

REST allows you to specify which fields you want so you can drop what's not needed over the wire.


Replies

anieuwland • today at 7:46 AM

> REST allows you to specify which fields you want so you can drop what's not needed over the wire.

How? GET doesn't formally allow you to specify what to fetch, QUERY isn't a thing yet, and building an end point for each unique use case doesn't scale well and results in a complicated API.

➕ show 1 reply