4 ms·
From a client application perspective, would you want to handle the cases differently?
by zffr 6y ago
From a client application perspective, would you want to handle the cases differently?
- isbvhodnvemrwvn 6y agoOf course, hitting a path without a handler is a bug, a resource which doesn't exist is a normal thing.
- jessaustin 6y agoThe situation you describe is not really REST. In REST, URLs are opaque; they have no structure for clients to understand. So, clients don't make up new URLs in order to determine whether resources exist. They only use URLs that they've already been given. If they haven't received it, they don't care whether it exists. This is called "Hypermedia as the Engine of Application State".