3 ms·
No, no. The point is that REST uses Hypertext as the Engine of Application State. You might have heard of this as HATEOAS. Ideally, your API is discoverable g
by generalk 15y ago
No, no.
The point is that REST uses Hypertext as the Engine of Application State. You might have heard of this as HATEOAS.
Ideally, your API is discoverable given the initial URL. If you return IDs, I have to construct URLs based on information I already have. If you return URLs, I just have to make an HTTP request.