mirror of https://github.com/status-im/consul.git
doc: add method and header to agent API docs for HTTP checks (#3400)
This commit is contained in:
parent
b51645739f
commit
e0924704d5
|
@ -120,6 +120,12 @@ The table below shows this endpoint's support for
|
|||
is expected. Certificate verification can be controlled using the
|
||||
`TLSSkipVerify`.
|
||||
|
||||
- `Method` `(string: "")` - Specifies a different HTTP method to be used
|
||||
for an `HTTP` check. When no value is specified, `GET` is used.
|
||||
|
||||
- `Header` `(map[string][]string: {})` - Specifies a set of headers that should
|
||||
be set for `HTTP` checks. Each header can have multiple values.
|
||||
|
||||
- `TLSSkipVerify` `(bool: false)` - Specifies if the certificate for an HTTPS
|
||||
check should not be verified.
|
||||
|
||||
|
|
Loading…
Reference in New Issue