Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (42 sloc) 1.352 kb
[
{ "method" : "put"
, "path" : "/doc_insert"
, "status" : 201
, "response" : "{ \"ok\": true }"
}
, { "method" : "put"
, "status" : 201
, "path" : "/doc_insert/foobaz"
, "body" : "{\"foo\":\"baz\"}"
, "response" : "{\"ok\":true,\"id\":\"foobaz\",\"rev\":\"1-611488\"}"
}
, { "method" : "put"
, "status" : 201
, "path" : "/doc_insert/foobaz?new_edits=false"
, "body" : "{\"foo\":\"baz\"}"
, "response" : "{\"ok\":true,\"id\":\"foobaz\",\"rev\":\"1-611488\"}"
}
, { "method" : "post"
, "status" : 201
, "path" : "/doc_insert"
, "body" : "{\"fn\":\"function () { return true; }\",\"fn2\":\"function () { return true; }\"}"
, "response" : "{\"ok\":true,\"id\":\"123\",\"rev\":\"1-611488\"}"
}
, { "path" : "/doc_insert/123"
, "response" : "{\"fn\":\"function () { return true; }\",\"fn2\":\"function () { return true; }\",\"id\":\"123\",\"rev\":\"1-611488\"}"
}
, { "method" : "post"
, "status" : 201
, "path" : "/doc_insert"
, "body" : "{\"foo\":\"bar\"}"
, "response" : "{\"ok\":true,\"id\":\"234\",\"rev\":\"1-333231\"}"
}
, { "method" : "delete"
, "path" : "/doc_insert/foobaz?rev=1-611488"
, "response" : "{\"ok\":true}"
}
, { "method" : "delete"
, "path" : "/doc_insert"
, "response" : "{ \"ok\": true }"
}
]
Jump to Line
Something went wrong with that request. Please try again.