Cool — lots of people have wanted this for a long time —
A new HTTP method — QUERY
https://httpwg.org/http-extensions/draft-ietf-httpbis-safe-method-w-body.html
https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-02.html
Similar to the HTTP GET method, but for searching. (I.e., idempotent, etc.)
Now, of course — you can create your own custom HTTP method, but — it is nice that QUERY might become common.
The HTTP QUERY Method
This specification defines the QUERY method for HTTP. A QUERY requests that the request target process the enclosed content in a safe and idempotent manner and then respond with the result of that processing. This is similar to POST requests but can be automatically repeated or restarted without concern for partial state changes.
