ElasticSearchStudy/ElasticSearchStudy.UseHttpR.../ES集群服务管理.http

26 lines
669 B
HTTP

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#// ES WebApi
#// Authorization: Basic elastic:es-461400 : base64
#//
#// ESWebAPI
@baseUrl = https://127.0.0.1:9201
#//elastic:es-461400 Base64
@account = ZWxhc3RpYzplcy00NjE0MDA=
### ES
GET {{baseUrl}}?pretty
Authorization: Basic {{account}}
### ES
GET {{baseUrl}}/_cat/nodes?v
Content-Type: application/json
Authorization: Basic {{account}}
### ES
GET {{baseUrl}}/_cat/health?v
Content-Type: application/json
Authorization: Basic {{account}}