_cat JSON format returning text

Docs claim I can use

curl 'localhost:9200/_cat/indices?format=json&pretty'

to get _cat formatted as JSON but I'm still getting text.

Pretty confusing but I tried some of the other formats which also didn't work and then suddenly YAML started to work and then JSON. Anyone else seen this issue?

Nope. If you can replicate it, please create an issue on Github!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.