elastic / sense

A JSON aware developer's interface to Elasticsearch. Comes with handy machinery such as syntax highlighting, autocomplete, formatting and code folding.
Other
381 stars 134 forks source link

Inconsistency with case handling of HTTP verbs #133

Open markharwood opened 8 years ago

markharwood commented 8 years ago

Training course attendee pointed out that lowercase "get" works as HTTP verb with returning a document by id but using the _mget form of URL with a body listing >1 ID requires an upper case "GET" verb. Took them a while to figure out the inconsistency.

nplatis commented 7 years ago

I have another case where get does not work but GET works: in _search queries! get seems to return all documents whereas GET works fine. The problem seems to be that, when using get the next lines are ignored: if I put the query body on the same line, it gets executed correctly

vkroz commented 7 years ago

Same problem exist in Sense bundled with Kibana 5.0.1 - lowercase 'get' doesn't work same way as uppercase 'GET' in search queries