# Mapping in ELK 6.1 with the Ruby Rest Client

**URL:** <https://discuss.elastic.co/t/mapping-in-elk-6-1-with-the-ruby-rest-client/114733>\
**Category:** Elasticsearch\
**Created:** [January 9, 2018, 4:16pm UTC](https://discuss.elastic.co/t/mapping-in-elk-6-1-with-the-ruby-rest-client/114733 "2018-01-09T16:16:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 9, 2018, 4:32pm UTC](https://discuss.elastic.co/t/mapping-in-elk-6-1-with-the-ruby-rest-client/114733/2 "2018-01-09T16:32:50Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Do you set in your client somewhere the `Content-Type`?

---

_[View the full topic](https://discuss.elastic.co/t/mapping-in-elk-6-1-with-the-ruby-rest-client/114733)._
