# Slash at the end of query

**URL:** <https://discuss.elastic.co/t/slash-at-the-end-of-query/182620>\
**Category:** Elasticsearch\
**Created:** [May 24, 2019, 10:43am UTC](https://discuss.elastic.co/t/slash-at-the-end-of-query/182620 "2019-05-24T10:43:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lilya\_Samedova](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lilya_samedova/32/46783_2.png) [@Lilya\_Samedova](https://discuss.elastic.co/u/Lilya_Samedova)\
**Post date:** [May 24, 2019, 10:43am UTC](https://discuss.elastic.co/t/slash-at-the-end-of-query/182620/1 "2019-05-24T10:43:21Z")

</div>

Hello!

The example of GET query in ES docs is:  
"GET twitter/\_doc/2"  
But the query with slash at the end is working as well:  
"GET twitter/\_doc/2/"

Is slash at the end is supported in all ES versions? (I use 6.6.2)

---

<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:** [June 21, 2019, 10:43am UTC](https://discuss.elastic.co/t/slash-at-the-end-of-query/182620/2 "2019-06-21T10:43:24Z")

</div>

Closed on June 21, 2019, 10:43am UTC

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