incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: definitive guide show examples don't work
Date Tue, 10 Aug 2010 17:46:14 GMT

 I don't believe you can put something that has quotes in quotes. 
Encasing it in single quotes throws an error.




-----Original Message-----
From: Randall Leeds <>
Sent: Tue, Aug 10, 2010 10:37 am
Subject: Re: definitive guide show examples don't work

Put it in quotes?

On Aug 10, 2010 10:17 AM, <> wrote:

 In the definitive guide I am supposed to be able to paste this in for a


function(doc, req) {

 return {

   base64 :










   headers : {

     "Content-Type" : "image/png"




But it says invalid json string

and won't accept it.

How do I get this to work?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message