|
|
|
|
|
by codingmyway
3474 days ago
|
|
Since learning it I've thought that REST is really aimed at humans. It's all well being able to navigate state but unless it knows what to do with a given state beforehand it's not much use to a machine, other than perhaps to gather data, in which case that data won't mean anything unless an intelligence interprets it. Since written code will only ever do a defined set of operations most web Apis are fine being written in RPC style. The only time I've advocated a RESTful approach is when there was a lot of public data being exposed and human developers may well have explored the data. When an AI can navigate an interpret data that it hasn't seen before then things will get interesting |
|