Jens,
  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 [mailto:[email protected]] 
Sent: Tuesday, August 21, 2012 12:03 PM
To: [email protected]
Subject: Re: Base64 attachment via Futon


On Aug 21, 2012, at 8:22 AM, Stephen Ohimor <[email protected]> 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.

-Jens

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

Reply via email to