mirror of https://github.com/hashicorp/consul
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]pull/7706/head^2
parent
81aeb06a2e
commit
3698e03e7a
|
@ -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