# Curl, save me!

**URL:** <https://discuss.elastic.co/t/curl-save-me/146106>\
**Category:** Elasticsearch\
**Created:** [August 27, 2018, 5:56am UTC](https://discuss.elastic.co/t/curl-save-me/146106 "2018-08-27T05:56:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![201100353](https://avatars.discourse-cdn.com/v4/letter/2/dfb087/32.png) [@201100353](https://discuss.elastic.co/u/201100353)\
**Post date:** [August 27, 2018, 5:56am UTC](https://discuss.elastic.co/t/curl-save-me/146106/1 "2018-08-27T05:56:21Z")

</div>

Hello and Please Everyone. I'm working with Java's httpClient because of handle about curl commands.  
This is shabby codes, but GET method working! but PUT or POST doesn't working with this error

I tried to 3 days but .... ☹  
How can I fix it?

![%EC%A7%88%EB%AC%B8%20%EA%B2%8C%EC%8B%9C%EC%9A%A9](https://us1.discourse-cdn.com/elastic/original/3X/e/2/e262c6af7b2e389e87302cc14d062cf45ca743ba.jpeg)

---

<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:** [September 24, 2018, 5:56am UTC](https://discuss.elastic.co/t/curl-save-me/146106/2 "2018-09-24T05:56:38Z")

</div>

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