News for hackers. Stuff that matters.
Re:Most RESTful APIs Aren't RESTful by blueflow on Wednesday July 09, 2025 @09:53AM (#44510066)
This has RESTful aesthetics but it is a bit unpractical if a read-only query changes state on the server, as in creating the uuid-referenced resource.
Re:Most RESTful APIs Aren't RESTful by rswail on Wednesday July 09, 2025 @11:55AM (#44511618)
There's no requirement in HTTP (or REST) to either create a resource or return a Location header.

For the purposes of caching etc, it's useful to have one, as well as cache controls for the query results, and there can be links in the result relative to the Location (eg a link href of "next" is relative to the Location).