3 ms·
Some applications opted for using GET with request bodies as well, for better or worse. Elasticsearch comes to mind. There have been some attempts to extend th
by dvlsg 4y ago
Some applications opted for using GET with request bodies as well, for better or worse. Elasticsearch comes to mind.
There have been some attempts to extend the list of http verbs to include something that fits those use cases more naturally - SEARCH and QUERY. QUERY got more traction, if I remember correctly, but I haven't heard much about it in a while.
https://www.w3.org/2012/ldp/wiki/Proposal_for_HTTP_QUERY_Verb https://www.w3.org/2012/ldp/wiki/Proposal_for_HTTP_QUERY_Ver...
- ognarb 4y agoSEARCH is used by the WebDAV standard, not that I like WebDAV search syntax https://gist.github.com/CarlSchwan/66fde29d52022c0ef76aec362c01a846 https://gist.github.com/CarlSchwan/66fde29d52022c0ef76aec362...
- dragonwriter 4y ago> SEARCH is used by the WebDAV standard That’s probably part of the reason the more general one proposed for HTTP is “QUERY” and not “SEARCH”. Also, WebDAV, in following its apparent design philosophy of “more is more”, has multiple different GET-with-(required or optional)-body methods with different purposes: PROPFIND and REPORT as well as SEARCH.
- yencabulator 4y agoYou might like QUERY: https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-02.html https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-meth...