mikekelly / hal-browser

An API browser for the hal+json media type
MIT License
835 stars 157 forks source link

Allow relative URIs from API to be resolved #56

Closed xogeny closed 9 years ago

xogeny commented 9 years ago

This resolves relative URIs in the API to be resolved according to RFC 3986. This is actually very useful because when building APIs, it is hard to know a priori where they will be hosted. This allows the API to generate relative URIs (just as you would use in HTML hrefs) and have the absolute path of the URI to be resolved automatically in the "browser" (hal-browser in this case, not a web browser).

mikekelly commented 9 years ago

:+1: thanks