a working example with HATEOS