Issue
I'm hitting an endpoint for status info which returns JSON
watch 'curl localhost:8000/something | jq'
which just returns "(23) Failed writing body" which is from jq
. What does jq
want here?
Note this works without the watch
part?
Solution
This did it:
watch 'curl localhost:8000/something | jq .'
Answered By - CpILL