← Back to team overview

graphite-dev team mailing list archive

[Question #191224]: getting raw/csv/json data from a curl call?

 

New question #191224 on Graphite:
https://answers.launchpad.net/graphite/+question/191224

If I issue something like:

http://mygraphite.com:8080/render?from=-1d&target=foo.data&format=json

from the browser I get back beautiful json data, but if I do

curl http://mygraphite.com:8080/render?from=-1d&target=foo.data&format=json

from the cmdline, I always get back a png. 

Is there something I'm doing wrong? Is there a header I should be including?

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.