Skip to content

Instantly share code, notes, and snippets.

@rbpasker
Created February 3, 2013 14:05
Show Gist options
  • Save rbpasker/4701922 to your computer and use it in GitHub Desktop.
Save rbpasker/4701922 to your computer and use it in GitHub Desktop.
$ curl -X GET -u XXXXX 'https://tengahdb.cloudant.com/sandbox/_design/extractmail.js'
{"_id":"_design\/extractmail.js","_rev":"7-708c30ba24efeabb5eb451c9412d4c96","views":{"all":"function(doc) { emit(doc._id, doc); } "}}
$ curl -X GET -u XXXXX 'https://tengahdb.cloudant.com/sandbox/_design/extractmail.js/_view/all'
{"error":"not_found","reason":"missing_named_view"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment