News for hackers. Stuff that matters.
Re:RESTful APIs, the big lie by btreecat on Tuesday August 11, 2015 @04:13PM (#10044019)
>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?

Re:RESTful APIs, the big lie by dozzie on Tuesday August 11, 2015 @04:35PM (#10044212)
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?)

Re:RESTful APIs, the big lie by coldtea on Wednesday August 12, 2015 @10:23AM (#10047827)
Also consider image search (e.g. what Google does). You'd base64 the image on the GET query string?