docs: sample requests
This commit is contained in:
22
sample.http
Normal file
22
sample.http
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
GET http://localhost:8090/status
|
||||||
|
|
||||||
|
###
|
||||||
|
POST http://localhost:8090/health
|
||||||
|
Content-Type: application/json
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "service5",
|
||||||
|
"healthy": true
|
||||||
|
}
|
||||||
|
|
||||||
|
###
|
||||||
|
POST http://localhost:8090/health
|
||||||
|
Content-Type: application/json
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "service5",
|
||||||
|
"healthy": false
|
||||||
|
}
|
||||||
|
|
||||||
|
###
|
||||||
|
GET http://localhost:8090/health?service=service1
|
||||||
Reference in New Issue
Block a user