1,554
edits
(add pretty_print) |
|||
Line 9: | Line 9: | ||
In this example we access a single record via its iDigBio uuid and pipe the output to a JSON pretty print program. | In this example we access a single record via its iDigBio uuid and pipe the output to a JSON pretty print program. | ||
<pre> | <pre> | ||
curl -s http://api.idigbio.org/v1/records/c93ebbee-64b5-4452-9e80-93bbfb11b815 | json_pp | $ curl -s http://api.idigbio.org/v1/records/c93ebbee-64b5-4452-9e80-93bbfb11b815 | json_pp | ||
{ | { | ||
"idigbio:uuid" : "c93ebbee-64b5-4452-9e80-93bbfb11b815", | "idigbio:uuid" : "c93ebbee-64b5-4452-9e80-93bbfb11b815", |
edits