Ashish Prajapat
Ashish Prajapat

Reputation: 53

ElasticSearch Health Check via POST call

I want to fetch the Elasticsearch Cluster Health via POST call, Is it possible ?

I know how to get it via GET call, but i have access to POST only.

Upvotes: 0

Views: 753

Answers (1)

Val
Val

Reputation: 217344

Retrieving the cluster health is only supported by GET calls as it generally makes no sense to "read" data via a POST call (at least in well-behaved REST services):

Either GET _cat/health(view source)

or GET _cluster/health(view source)

Upvotes: 2

Related Questions