3 ms·
> Sure, you could have a syntax for requesting (potentially recursive) nested resources in the query string of a REST API Or you could just make an endpoint th
by krainboltgreene 4y ago
> Sure, you could have a syntax for requesting (potentially recursive) nested resources in the query string of a REST API
Or you could just make an endpoint that gives you the data you want.
- imtringued 4y agoThat endpoint has to be unique for the client, otherwise someone else could abuse this API and when you filter out an attribute the rogue user depends on, you break their application.
- krainboltgreene 4y agoNo it doesn't. It's just a GET request with a parameter or two. People make this stuff so hard when it doesn't need to be.