POST Request HTTP header with shield auth header format from arduino

I am sending POST request with HTTP using arduino platform. I am using trial version of elasticsearch and have cluter-id.region.aws.found.io:9200 with secured shield username and password access.

By default, POST request gives me HTTP/1.1 400 Bad Request because i have not included username and password to access and connect to my cloud. How should i add those details?

Anyone have any sample format for that? how to send authentication with other information?

Are you looking for this doc?

https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html

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