Yes, but people do a pattern using convoluted pathnames that looks cool but it's incredibly inefficient and awkward for both clients and servers.

Reply to this note

Please Login to reply.

Discussion

An HTTP ("REST") API is certainly no more wasteful than GraphQL.

If done right, it's literally just pushing bytes over the wire, whereas GraphQL at the very least involves JSON parsing, comparison, reconstruction, and serialization.