doc: add method and header to agent API docs for HTTP checks (#3400)

This commit is contained in:
Frank Schröder 2017-08-16 18:18:46 +02:00 committed by GitHub
parent 9419cecb1d
commit a895d3b832
1 changed files with 6 additions and 0 deletions

View File

@ -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.