Hacker News new | ask | show | jobs
by btreecat 3962 days ago
>There's no search in these.

>The only HTTP verb that can sensibly carry anything beside "create", "destroy", and "retrieve" commands is POST.

So what you are saying is that a search or query is fundamentally different from the idea of "retrieve" provided by the GET verb?

1 comments

Of course it is different. GET is meant to retrieve a specific resource. Search results are not a resource, they are computation result.

Also, how would you specify the query and search options? Mix those in query string portion? Or encode them? (And how?)

Also consider image search (e.g. what Google does). You'd base64 the image on the GET query string?