hmm? your curl command should have worked just fine...something tells me you're not typing EXACTLY what you sent...could you type history and paste it here?
Also...could you show us the map and reduce functions as well? On Wed, Jan 21, 2015 at 1:46 PM, Ayhan Kesenci <[email protected]> wrote: > So any idea please? > Hi, > > I just re-checked here and in principle, your approach is correct. I'd try > a.) inserting the URL in a browser (ideally not MSIE) and b: typing this > thing verbatim once more into cmd. Then I'm out of ideas - but you're > almost there for sure. > > Good luck > Sebastian > > > On Wed, Jan 21, 2015 at 9:33 PM, Ayhan Kesenci <[email protected] > > > wrote: > > > I try "curl -X GET > > http://127.0.0.1:5984/twitterdb/_design/tweetzahl/_view/tweetzahl> > > C:\Users\Sei_Erfolgreich\Desktop\sebastian.txt > > > > end get a error message in the txt file > > {"error":"method_not_allowed","reason":"Only GET,POST,HEAD allowed"} > > > > > > 2015-01-21 21:25 GMT+01:00 Sebastian Rothbucher < > > [email protected]>: > > > > > Hi, > > > try http://127.0.0.1:5984/twitterdb/_design/tweetzahl/_view/tweetzahl > > > Good luck! > > > Sebastian > > > > > > On Wed, Jan 21, 2015 at 9:22 PM, Ayhan Kesenci < > > [email protected] > > > > > > > wrote: > > > > > > > I mean for example you have this command to export a couchdb with > curl > > > > > > > > http://127.0.0.1:5984/twitterdb/_all_docs?include_docs=true> > > > > C:\Users\Sei_Erfolgreich\Desktop\text.txt > > > > > > > > but i need a special view, but if I try it to copy the url fromt the > > view > > > > in the command > > > > > > > > > > > > > > > > > > > > > > > http://127.0.0.1:5984/_utils/database.html?twitterdb/_design/tweetzahl/_view/tweetzahl > > > > > C:\Users\Sei_Erfolgreich\Desktop\text.txt > > > > > > > > > > > > dont work,only it saves the html version, but i need the data > > > > > > > > 2015-01-21 20:33 GMT+01:00 Alexander Gabriel <[email protected]>: > > > > > > > > > you can use a list if you want to generate a format other than json > > > > > Alex > > > > > > > > > > > > > > > 2015-01-21 20:29 GMT+01:00 Aurélien Bénel <[email protected]>: > > > > > > > > > > > > Is it possible to export a couchdb view ? > > > > > > > > > > > > Err... A view is already a JSON payload got with HTTP... > > > > > > What do you mean? > > > > > > What for? In which format? > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > Aurélien > > > > > > > > > > > > > > >
