35 lines
557 B
YAML
35 lines
557 B
YAML
info:
|
|
name: Health check
|
|
type: http
|
|
seq: 1
|
|
|
|
http:
|
|
method: GET
|
|
url: "{{baseUrl}}/health"
|
|
auth: inherit
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|
|
|
|
examples:
|
|
- name: 200 Response
|
|
description: Server is healthy
|
|
request:
|
|
url: "{{baseUrl}}/health"
|
|
method: GET
|
|
response:
|
|
status: 200
|
|
statusText: OK
|
|
headers:
|
|
- name: Content-Type
|
|
value: application/json
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"ok": false
|
|
}
|