$ curl -u myusername http://anonexistenthost:5984 Enter host password for user 'myusername':
Curl ask for a password before even opening the connection, so my best guess is that your .curlrc specifies a username for some reasons. On Tue, Aug 10, 2010 at 7:24 PM, Christian Noack <[email protected]> wrote: > Today I installed couchdb on OS X (Snow Leopard) via MacPorts. I started > couchdb and can connect to via the web browser (http://127.0.0.1:5984/). I > got the expected result: > "{"couchdb":"Welcome","version":"1.0.0"}" > > But when I try to connect via curl: " curl http://127.0.0.1:5984" curl asks > me: "Enter host password for user 'myusername'". Why? I did not configure any > authentication. What would the right user/pasword combination be? > > Any hints? > > Best regards, > > Christian > > --- > agile methoden - consulting, coaching, training > Christian Noack > www.agile-methoden.de > Krückenweg 51, 44227 Dortmund > +49 231 108722732 > >
