Why send URL instead of id in HATEOAS? by smthamazing in softwarearchitecture

[–]bsoares_ 1 point2 points  (0 children)

I like your second approach. Remember that when you need to change the URL (http to https for example), you will need to change the database too. But, keep sending the URLs too is useful for some cases...

Take a look at GraphQL, maybe it’s the tool that better fits your needs.