# Running a POST on Elasticsearch

**URL:** <https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369>\
**Category:** Elasticsearch\
**Created:** [February 18, 2018, 9:45pm UTC](https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369 "2018-02-18T21:45:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danlevy](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@danlevy](https://discuss.elastic.co/u/danlevy)\
**Post date:** [February 18, 2018, 9:45pm UTC](https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369/1 "2018-02-18T21:45:01Z")

</div>

Disclaimer: I am very new to Elasticsearch.

I read through the documentation and I still can't find a way to run this example:

```
POST /testOne/testTwo/testThree
{
    "testingOne" : {
        "testingTwo" : {
            "testingThree" : 3438
         }
    }
}

```

I am using a Mac (and Terminal). So far, I have found that I can use -XPUT, but I can't seem to get -XPOST. As far as nesting, I am still unsure, based the documentation, if I can do all of this in one command or if it needs to be split into several commands run sequentially. Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 18, 2018, 10:01pm UTC](https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369/2 "2018-02-18T22:01:16Z")

</div>

> [@danlevy](#):
>
> but I can't seem to get -XPOST

Can you explain that a bit more, what isn't working?

If you can copy and paste things directly from the terminal it'd probably help. Just make sure you format that with the code button - `</>`.

---

<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:** [February 18, 2018, 10:12pm UTC](https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369/3 "2018-02-18T22:12:29Z")

</div>

Start Kibana and use the dev console. That should help you to start.

---

<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:** [March 18, 2018, 10:13pm UTC](https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369/4 "2018-03-18T22:13:06Z")

</div>

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