First, Introduction
In the previous article we covered a curl command that was used under Ubuntu and used this command to simulate the functionality of the server to send data to Google's c2dmserver.
The following is a simple way to use the Curl command under Windows.
Second, detailed implementation
Windows does not have a curl command by default and requires the ability to use it after installation.
1. Download the http://curl.haxx.se/download/here File Curl-7.17.1-win32-ssl.zip, assuming that you do not need to use SSL, can be directly downloaded Curl-7.17.1-win32-nossl.zip, and can be used directly. Just because we requested the Google URL is https format, so we want to use the SSL function.
2. Under Windows in order to use the Curl command with SSL, we have to install OpenSSL to http://www.slproweb.com/products/Win32OpenSSL.html here to download Win32openssl V1.0.0D Light, installation is possible. Also can not install, directly put Libeay32.dll, Ssleay32.dll, libssl32.dll these three DLL files copied to your Curl folder can be.
3. Next open cmd, switch to the Curl folder, you can use the Curl command directly.
Windows Next Curl Uses