couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Ohimor <>
Subject RE: Base64 attachment via Futon
Date Tue, 21 Aug 2012 16:44:02 GMT
  I overlooked something in JAVA (forgot to reload a changed class).  Sorry for the confusion,
everything appears to be working.  Thanks for taking time out of your schedule to help me
though.  Much appreciated.

-----Original Message-----
From: Jens Alfke [] 
Sent: Tuesday, August 21, 2012 12:03 PM
Subject: Re: Base64 attachment via Futon

On Aug 21, 2012, at 8:22 AM, Stephen Ohimor <> wrote:

> Context:  I'm posting a document with an attachment.  The attachment is a Base64 url-safe
encoded string.  I am posting to a local CouchDB server (R15B) via the Futon Interface.

Why use that API? My understanding is that Futon's API is considered internal, and not supported.

It's quite easy to upload attachments using a regular PUT/POST to the document URL. You can
embed the base64'd attachment in the JSON, or you can post in MIME multipart format and send
the attachment raw.


PS: Also, I just noticed you said R15B - that's the version of *Erlang*, not of CouchDB. To
see the CouchDB version, GET /.

View raw message