# Http\_poller Web post request

**URL:** https://discuss.elastic.co/t/http-poller-web-post-request/199232
**Category:** Logstash
**Created:** [September 12, 2019, 10:37am UTC](https://discuss.elastic.co/t/http-poller-web-post-request/199232 "2019-09-12T10:37:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![akhilsharma.in](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@akhilsharma.in](https://discuss.elastic.co/u/akhilsharma.in)
#### Post date: [September 12, 2019, 10:37am UTC](https://discuss.elastic.co/t/http-poller-web-post-request/199232/1 "2019-09-12T10:37:07Z")

</div>

I'm using http\_poller to use POST request. It is giving error with the body.

I added body as below:

body =\> '{ "grant\_type":"client\_credentials","scope":"domain" }'

Error I'm seeing after running it as Bad request: 400

"message" =\> "Parameter conditions "grant\_type" not met for actual request parameters: { "grant\_type":"client\_credentials","scope":"domain" }={}",

Please suggest corrections.

---

<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: [October 10, 2019, 10:37am UTC](https://discuss.elastic.co/t/http-poller-web-post-request/199232/2 "2019-10-10T10:37:11Z")

</div>

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