docs: header payload type change (#7763)

* changed the header type from string to list as mentioned in doc in [website/pages/api-docs/agent/check.mdx, website/pages/docs/agent/checks.mdx]
This commit is contained in:
krishna sindhur 2020-05-12 15:18:48 +05:30 committed by GitHub
parent a6cd75423e
commit a0474e0437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ The table below shows this endpoint's support for
"Shell": "/bin/bash", "Shell": "/bin/bash",
"HTTP": "https://example.com", "HTTP": "https://example.com",
"Method": "POST", "Method": "POST",
"Header": { "Content-Type": "application/json" }, "Header": { "Content-Type": ["application/json"]},
"Body": "{\"check\":\"mem\"}", "Body": "{\"check\":\"mem\"}",
"TCP": "example.com:22", "TCP": "example.com:22",
"Interval": "10s", "Interval": "10s",