PHP Developers Network
http://forums.devnetwork.net/

how to run curl with CrouchDB ?
http://forums.devnetwork.net/viewtopic.php?f=2&t=141603
Page 1 of 1

Author:  gautamz07 [ Wed Jul 29, 2015 5:47 am ]
Post subject:  how to run curl with CrouchDB ?

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.

Author:  Celauran [ Wed Jul 29, 2015 6:21 am ]
Post subject:  Re: how to run curl with CrouchDB ?

Run cURL however you normally would. Call it from the command line, or from within a PHP script, or a Bash script, or wherever.

Author:  gautamz07 [ Wed Jul 29, 2015 6:48 am ]
Post subject:  Re: how to run curl with CrouchDB ?

was just reading this thread http://stackoverflow.com/questions/9507353/how-do-i-install-set-up-and-use-curl-on-a-windows , if you see the secound answer, the last line says .

Quote:
Finally, you can copy curl.exe into %windir% and it should become available on the command line.


What does that mean

Author:  Celauran [ Wed Jul 29, 2015 7:32 am ]
Post subject:  Re: how to run curl with CrouchDB ?

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.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/