News for hackers. Stuff that matters.
Re:Most RESTful APIs Aren't RESTful by koolala on Wednesday July 09, 2025 @09:49AM (#44510030)
Isn't this twice as slow? If your server was far away it would double load times?
Re:Most RESTful APIs Aren't RESTful by ivan_gammel on Wednesday July 09, 2025 @10:01AM (#44510158)
The response to POST can return everything you need. The Location header that you receive with it will contain permanent link for making the same search request again via GET.

Pros: no practical limit on query size. Cons: permalink is not user-friendly - you cannot figure out what filters are applied without making the request.