Added example with HATEOAS API