# Sense query UI in Kibana 5.0 -- HTTP methods names are case sensitive

**URL:** <https://discuss.elastic.co/t/sense-query-ui-in-kibana-5-0-http-methods-names-are-case-sensitive/66917>\
**Category:** Kibana\
**Created:** [November 22, 2016, 9:37pm UTC](https://discuss.elastic.co/t/sense-query-ui-in-kibana-5-0-http-methods-names-are-case-sensitive/66917 "2016-11-22T21:37:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vkroz](https://avatars.discourse-cdn.com/v4/letter/v/dc4da7/32.png) [@vkroz](https://discuss.elastic.co/u/vkroz)\
**Post date:** [November 22, 2016, 9:37pm UTC](https://discuss.elastic.co/t/sense-query-ui-in-kibana-5-0-http-methods-names-are-case-sensitive/66917/1 "2016-11-22T21:37:03Z")

</div>

Is it just me or anyone else?  
I discovered quite confusing behaviour of DevTools (former Sense) in Kibana 5.\*. HTTP method names are case-sensitive there, i.e. the following queries behave differently:

```
	# Works properly
	GET test/events/_search
	{
	  "query": { "match": { "device": "pc" } }
	}

	# Ignores query body and unconditionally returns all documents 
	get test/events/_search
	{
	  "query": { "match": { "device": "pc" } }
	}

```

I'm not sure if it's a new "feature" or alway was like that, but IMHO looks awkward.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [November 23, 2016, 4:41pm UTC](https://discuss.elastic.co/t/sense-query-ui-in-kibana-5-0-http-methods-names-are-case-sensitive/66917/2 "2016-11-23T16:41:48Z")

</div>

Because there's a request body Console is converting the uppercase GET to POST, but on the lowercase get it is still sending a get request. If you send POST/post do you get the expected results?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 21, 2016, 4:41pm UTC](https://discuss.elastic.co/t/sense-query-ui-in-kibana-5-0-http-methods-names-are-case-sensitive/66917/3 "2016-12-21T16:41:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
