How to run curl in windows for making web apps

Installing the cURL Command-Line Tool on Windows 

This tutorial shows you how to access Oracle Messaging Cloud Service via the REST interface by using the cURL command-line tool. cURL is free, open software that runs under various operating systems.

This tutorial demonstrates cURL on a Windows 64-bit operating system that is enabled for the secure sockets layer (SSL). The authentication aspects of the Messaging Cloud Service require an SSL-enabled environment.

Your first task is to install the appropriate version of cURL for your SSL-enabled environment.

There is an ordered series of steps to follow to install cURL on Windows. There are two libraries to install and they must be installed before cURL will work with SSL. Also, they must be installed in this order to work. Do not skip the step to install a recent certificate.

Install Visual C++ 2008 Redistributable Package.For 64-bit systems: Visual C++ 2008 Redistributables (x64) from

For 32-bit systems: Visual C++ 2008 Redistributables (x32)

download Visual C++ 2008 Redistributable x64
Install Visual C++ 2010 Redistributable Package.For 64-bit systems: Visual C++ 2010 Redistributables (x64) from

For 32-bit systems: Visual C++ 2010 Redistributables (x32)

download Visual C++ 2010 Redistributable x64
Install Win(32/64) OpenSSL v1.0.0k Light from 64-bit systems: Win64 OpenSSL v1.0.0k Light

For 32-bit systems: Win32 OpenSSL v1.0.0k Light

download Win64 OpenSSL v1.0.0k Light
In your browser, navigate to the cURL welcome page at and click Download.
click Download
On the cURL Releases and Downloads page, click the link for the SSL-enabled version for your computer’s operating system, download the zip file, and install it in a new folder on your computer.The cURL website offers a wizard to find the appropriate version for your computer’s operating system.

For this tutorial, the 64-bit generic, SSL-enabled version for Windows is selected.

choose Win64 binary SSL
Install recent CA Certificates. Do not skip this step.Download cacert.pem, a recent copy of valid CERT files, from

Copy it to the same folder where you placed curl.exe and rename it curl-ca-bundle.crt.

download cacert.pem
Invoke curl.exe from a command window (in Windows, click Start > Run and then enter "cmd" in the Run dialog box).
download cacert.pem
You can enter curl --help to see a list of cURL commands.
type help for curl commands



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.