Reputation: 53
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
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