# Incorrect Post syntax for Elasticsearch in postman

**URL:** <https://discuss.elastic.co/t/incorrect-post-syntax-for-elasticsearch-in-postman/142364>\
**Category:** Elasticsearch\
**Created:** [July 31, 2018, 1:05pm UTC](https://discuss.elastic.co/t/incorrect-post-syntax-for-elasticsearch-in-postman/142364 "2018-07-31T13:05:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_C.H\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_c.h_wang/32/54310_2.png) [@Michael\_C.H\_Wang](https://discuss.elastic.co/u/Michael_C.H_Wang)\
**Post date:** [July 31, 2018, 1:05pm UTC](https://discuss.elastic.co/t/incorrect-post-syntax-for-elasticsearch-in-postman/142364/1 "2018-07-31T13:05:20Z")

</div>

Hi,I'm a new learner and follow AWS example here: [https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-gsg-upload-data.html](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-gsg-upload-data.html) to build my first elasticsearch application. I'm using Postman for curl command POST to append new document and index as shown here. However it seems the syntax is incorrect highlight by Postman so see if support to correct, thank you!

 ![curl_Post](https://us1.discourse-cdn.com/elastic/original/3X/c/1/c1caa0a215cc5400da4e7958ed9ac02b0869820a.jpg) ![error_message](https://us1.discourse-cdn.com/elastic/original/3X/d/8/d810856048959f71b8e287abd2f2d619d7ebff73.jpg)

---

<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:** [July 31, 2018, 1:17pm UTC](https://discuss.elastic.co/t/incorrect-post-syntax-for-elasticsearch-in-postman/142364/2 "2018-07-31T13:17:44Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

BTW did you look at [https://www.elastic.co/cloud](https://www.elastic.co/cloud) and [https://aws.amazon.com/marketplace/pp/B01N6YCISK](https://aws.amazon.com/marketplace/pp/B01N6YCISK) ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL and what is coming like Canvas...

I'd recommend using Kibana Dev Console BTW instead of Postman as it comes with autocompletion and other goodies...

---

<div class="post-metadata">

**Author:** ![Michael\_C.H\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_c.h_wang/32/54310_2.png) [@Michael\_C.H\_Wang](https://discuss.elastic.co/u/Michael_C.H_Wang)\
**Post date:** [July 31, 2018, 2:45pm UTC](https://discuss.elastic.co/t/incorrect-post-syntax-for-elasticsearch-in-postman/142364/3 "2018-07-31T14:45:04Z")

</div>

Refer to this answered question on stackoverflow [https://stackoverflow.com/questions/45792309/bulk-api-malformed-action-metadata-line-3-expected-start-object-but-found](https://stackoverflow.com/questions/45792309/bulk-api-malformed-action-metadata-line-3-expected-start-object-but-found) and issue worked out.

---

<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 28, 2018, 2:45pm UTC](https://discuss.elastic.co/t/incorrect-post-syntax-for-elasticsearch-in-postman/142364/4 "2018-08-28T14:45:05Z")

</div>

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