Page 1 of 1

how to run curl with CrouchDB ?

Posted: Wed Jul 29, 2015 5:47 am
by gautamz07
Hey guys , i was just playing around with CrouchDB and basically installed it from the following link:

http://couchdb.apache.org/#download

i am running crouchDB on win7 .

now i want to do one simple tasks, I.E. create a database using curl. I am basically following this tutorial http://guide.couchdb.org/editions/1/en/tour.html . but how do i run curl with crouch. Sounds simplistic i know, but to me its kind of daunting , can somebody guide me please.

Thanks.

Re: how to run curl with CrouchDB ?

Posted: Wed Jul 29, 2015 6:21 am
by Celauran
Run cURL however you normally would. Call it from the command line, or from within a PHP script, or a Bash script, or wherever.

Re: how to run curl with CrouchDB ?

Posted: Wed Jul 29, 2015 6:48 am
by gautamz07
was just reading this thread http://stackoverflow.com/questions/9507 ... -a-windows , if you see the secound answer, the last line says .
Finally, you can copy curl.exe into %windir% and it should become available on the command line.
What does that mean

Re: how to run curl with CrouchDB ?

Posted: Wed Jul 29, 2015 7:32 am
by Celauran
I'd imagine it's the Windows system directory, which will vary slightly by version. I believe it's typically C:\Windows, but I haven't touched Windows in forever so don't quote me on it. Anywhere in your path should do.