mirror of https://github.com/status-im/consul.git
correct the doc for obtaining formatted json
was "?pretty" should be "?pretty=1"
This commit is contained in:
parent
f57efbc778
commit
cf3b9ec4fe
|
@ -86,7 +86,7 @@ leader. These can be used to gauge if a stale read should be used.
|
||||||
## Formatted JSON Output
|
## Formatted JSON Output
|
||||||
|
|
||||||
By default, the output of all HTTP API requests return minimized JSON with all
|
By default, the output of all HTTP API requests return minimized JSON with all
|
||||||
whitespace removed. By adding "?pretty" to the HTTP request URL,
|
whitespace removed. By adding "?pretty=1" to the HTTP request URL,
|
||||||
formatted JSON will be returned.
|
formatted JSON will be returned.
|
||||||
|
|
||||||
## ACLs
|
## ACLs
|
||||||
|
|
Loading…
Reference in New Issue