What if http://example.com/foo
and http://example.com/bar
both represent the same resource and the server does not distinguish between the two? What if it uses them interchangeably within documents that form the engine of application state (following HATEOAS), so that it displays /bar
in some contexts and /foo
in others?
Is this RESTful?
One potential benefit of this is to attach descriptors to URIs, e.g. http://example.com/article/30204/The-Quick-Brown-Fox
, for the sake of bookmarks, search engine queries, and in general the potential for people to recognize a URI just by looking at it.