ddopson / underscore-cli

Command-line utility-belt for hacking JSON and Javascript.
Other
1.72k stars 83 forks source link

Can't format output of cURL, Unexpected number #54

Open iancullinane opened 8 years ago

iancullinane commented 8 years ago

I am getting the following error when trying to format the output of curl requests using a command like this:

curl -i -u <user:auth> -d <someapicall> -X GET 'https://metrics-api.librato.com/v1/metrics' | underscore print

This returns the following error:

Error while parsing STDIN in mode 'lax': Unexpected number