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:
parent
a6cd75423e
commit
a0474e0437
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue