• spoonbill@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    How does HATEOAS deal with endpoints that take arguments? E.g. I have an endpoint that merges the currently viewed resource with another one? Does it require a new (argumentless) endpoint showing a form where one can enter the second resource? Wouldn’t it be quite inefficient if you have to now do two (or more) requests instead of just one?