GET /{db}{design-doc-id}/{attachment}
Request
Response
Example
The following example retrieves the attachment named sample_attachment for the design document with the identifier _design/beer3.
Request
GET /beer-db/_design/beer3/sample_attachment HTTP/1.1
Host: localhost:59840
Response
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: must-revalidate
Content-Length: 35
Content-Type: text/plain; charset=UTF-8
Date: Wed, 23 Apr 2014 21:44:12 GMT
Etag: "2-ebafcd22590dcfdcfed5359286dd6a1b"
Server: CouchbaseLite 1.495
This is an example of an attachment