1. Brief Introduction
In the previous article, we involved a curl Command Used in Ubuntu, and used this command to simulate the server function to send data to Google's c2dm server.
Below is a simple example of using the curl command in windows.
II. Specific implementation
In Windows, the curl command is not provided by default and can be used only after installation.
1. Download ghost here. However, because the Google website we requested is in HTTPS format, we need to use the feature with SSL.
2. in windows, to use the curl command with SSL, install OpenSSL at http://www.slproweb.com/products/win32openssl.htmlto download win32openssl v1.0.0d light and install it. You can also copy the libeay32.dll, ssleay32.dll, and libssl32.dll files to your curl directory without installation.
3. Open CMD and switch to the curl directory to directly use the curl command.