couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "ServingAppsFromCouchDb" by JanLehnardt
Date Wed, 23 Apr 2008 07:32:38 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JanLehnardt:

  This is a quick'n'dirty hack. All you need to do is fill the {{{$files}}} array with entries
of {{{$file}}} arrays that contain the filename and content-type of that file.
  Run with: 
- $ curl -X PUT http://server:5984/database/document -d "`upload.php`"
+ $ curl -X PUT http://server:5984/database/document -d "\`php upload.php\`"

View raw message