Browse Source

correct the doc for obtaining formatted json

was "?pretty" should be "?pretty=1"
pull/491/head
Brandon Wilson 10 years ago
parent
commit
cf3b9ec4fe
  1. 2
      website/source/docs/agent/http.html.markdown

2
website/source/docs/agent/http.html.markdown

@ -86,7 +86,7 @@ leader. These can be used to gauge if a stale read should be used.
## Formatted JSON Output
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.
## ACLs

Loading…
Cancel
Save