# ES-6.3.0 PHP get() Namespace Elasticsearch-\>Namespaces-\>IndicesNamespace

**URL:** <https://discuss.elastic.co/t/es-6-3-0-php-get-namespace-elasticsearch-namespaces-indicesnamespace/141296>\
**Category:** Elasticsearch\
**Created:** [July 24, 2018, 6:19am UTC](https://discuss.elastic.co/t/es-6-3-0-php-get-namespace-elasticsearch-namespaces-indicesnamespace/141296 "2018-07-24T06:19:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![svarup](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@svarup](https://discuss.elastic.co/u/svarup)\
**Post date:** [July 24, 2018, 6:19am UTC](https://discuss.elastic.co/t/es-6-3-0-php-get-namespace-elasticsearch-namespaces-indicesnamespace/141296/1 "2018-07-24T06:19:49Z")

</div>

When i call a function get() from Elasticsearch\Namespaces\IndicesNamespace with multiple comma-separated list of features then it gives me error.

Uncaught Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":"Incorrect HTTP method for uri [/index1/\_settings,\_mappings] and method [GET], allowed: [POST]","status":405}

```auto
$params = [
 'index' => 'index1',
 'feature' => '_settings,_mappings',
];

$response = $client->indices()->get($params);

```

$response gives error as i said above.

---

<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:** [August 21, 2018, 6:19am UTC](https://discuss.elastic.co/t/es-6-3-0-php-get-namespace-elasticsearch-namespaces-indicesnamespace/141296/2 "2018-08-21T06:19:51Z")

</div>

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