42 ms·
>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
by btreecat 11y 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?
- dozzie 11y agoOf 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?)
- coldtea 11y agoAlso consider image search (e.g. what Google does). You'd base64 the image on the GET query string?