发送实例心跳
/nacos/v1/ns/instance/beat
发送某个实例的心跳
请求参数
Query Params
serviceName
string
required
服务名
Example:
{{serviceName2}}
ip
string
required
服务实例IP
Example:
{{ip}}
port
integer
required
服务实例PORT
Example:
{{port}}
namespaceId
string
optional
命名空间ID
groupName
string
optional
分组名
ephemeral
string
optional
是否临时实例,boolean
beat
string
required
实例心跳内容,JSON格式字符串
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: Raw
Example
ok
Modified at 2 年前