Re:Defining a new HTTP method: HTTP Search (2021)
by pan69 on Saturday May 27, 2023 @04:26PM
(#36097971)
Another way to think about it, if you're doing REST as it seems the author of this article seems to strive for is to introduce a "search resource". You'd then POST to e.g. POST /searches with the query in the body, and on the server side a search resource is created. The server performs the search query and returns the result with a search ID. To do the same search again just do a GET /searches/ID.
[ Parent
| on HN ]
There are no comments on this comment yet.