From ee2cc7aacaed7d9d8171a20e2cdcaa3c519859f2 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Wed, 16 Aug 2017 18:24:28 +0200 Subject: [PATCH] doc: update check example for agent api call --- website/source/api/agent/check.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/api/agent/check.html.md b/website/source/api/agent/check.html.md index 445df00b3e..90c8e76841 100644 --- a/website/source/api/agent/check.html.md +++ b/website/source/api/agent/check.html.md @@ -156,7 +156,9 @@ The table below shows this endpoint's support for "Script": "/usr/local/bin/check_mem.py", "DockerContainerID": "f972c95ebf0e", "Shell": "/bin/bash", - "HTTP": "http://example.com", + "HTTP": "https://example.com", + "Method": "POST", + "Header": {"x-foo":["bar", "baz"]}, "TCP": "example.com:22", "Interval": "10s", "TTL": "15s",