I am working on an Angular 4 interface for an API created by another team. The API follows HATEOAS and provides me with hypermedia links with every response.
I know the form of the API, and I believe that I can just hardcode the URLs in Angular Services with minimal clutter. However, a colleague (who is a third-party developer) is trying to convince me that I should fully use hypermedia, because this will mean less communication between the interface and the backend (and potential breakdown if the API changes).
However, I'm at a standstill about how I'm even going to implement a simple HATEOAS template using the Angular built-in service Http. How can I store / share hypermedia / URL information in such a way as not to bring all the services together and make them inaccessible? There seem to be no examples.
Would trying to create an HTTP client that supports HATEOAS even be a good idea, or is it probably not worth the problem?
source
share