HATEOAS: absolute or relative URLs?

There is a subtle conceptual ambiguity when people say “relative URI”. By RFC3986’s definition, a generic URI contains: URI = scheme “:” hier-part [ “?” query ] [ “#” fragment ] hier-part = “//” authority path-abempty / path-absolute / path-rootless / path-empty foo://example.com:8042/over/there?name=ferret#nose \_/ \______________/\_________/ \_________/ \__/ | | | | | scheme authority path … Read more