From e0924704d56a5729578935c194711fbe2b0464ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Schr=C3=B6der?= Date: Wed, 16 Aug 2017 18:18:46 +0200 Subject: [PATCH] doc: add method and header to agent API docs for HTTP checks (#3400) --- website/source/api/agent/check.html.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/api/agent/check.html.md b/website/source/api/agent/check.html.md index 1a413e8558..445df00b3e 100644 --- a/website/source/api/agent/check.html.md +++ b/website/source/api/agent/check.html.md @@ -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.