3 ms·
If you treat your endpoints as resources, and if you think of the verbs as the operations you can perform on those resources, then you have a discoverable inter
by hhariri 13y ago
If you treat your endpoints as resources, and if you think of the verbs as the operations you can perform on those resources, then you have a discoverable interface. IF you limit everything to a single verb, then you have to define a series of operations...
- Chris2048 13y agoBut this isn't the only way an interface could be discoverable - what about a schema (or a good api doc for humans). This way also couples api to implementation - what if I want different verbs? Suddenly, we stray from the discoverable path.