Skip to main content

cURL

cURL 



•• What is cURL ?

• cURL is command line tool and library for transferring data with URLs


•• Supported Protocols
• HTTP, HTTPS,FTP,IMAP,POP3,curl supports SSL certificates etc.


•• cURL is an open source project,latest version is 7.55.1. Check out the project at https://github.com/curl/curl


•• Supported Platforms
• Windows,Linux,MacOS etc.

•• Download cURL here https://curl.haxx.se/dlwiz/?type=*

•• cURL Installation
• Windows
   * Download the curl zip (As per 32 or 64 bit)
   * Extract it anywhere and rename it whatever you want
   * Find the curl.exe in "src" folder
   * Place curl.exe in the folder you made
   * To run curl from the command line       
         ** Right-hand-click on "My Computer" icon
         ** Select Properties
         ** Click 'Advanced system settings' link
         ** Go to tab [Advanced] - 'Environment Variables' button
         ** Under System variable select 'Path' and Edit button
         ** Add a semicolon followed by the path to where you placed your curl.exe
              (e.g. ;E:\mycurl\curl)


•• Check by typing,in the command prompt 

 
       curl www.google.com


•• cURL is useful for dealing with some API's, you will know more after you can work with cURL.


• Linux (Debian/Ubuntu)
  * Open SSH Console (Use putty or whatever you have)
  * Type sudo apt-get install curl , it will install curl
   * Type sudo service apache2 restart,it will restart or webserver (apache)

   * Type sudo apt-get install php5-curl (it will install php & integrate with curl)
   * Type, type y or yes when prompted to do so
   * Finally, sudo service apache2 restart, to again restart the apache

Note: sudo is not mandatory, it depends on your linux system


Regards..

Popular posts from this blog

VNC alternative:X2GO Server & Client

Hello again, In this thread I'll be explaining and showing commands on how to install X2GoServer, it is much easier than VNC (in my opinion) and very easy to use. It takes some time to install because the packages are a little big. What is VNC ? > In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. > Mainly,X2GO server is used for running a custom linux desktop with a flavour of windows software applications using "wine" by connecting client to server (using x2go client). Requirement : > Virtual Server > A good amount of ram > Patience Note : > This tutorial will work on Debian/Ubuntu,change apt-get to yum for centOS and similar for others > Use sudo as a prefix,if the below commands don't seem to work First of all, login with PuTTY on your Debian(wheezy) VPS. After you have done this just copy and paste ...

Post2VPS.Com

VPS SPECIFICATION - 384MB RAM 30GB HDD 300MHZ CPU 10Mbps Bandwidth Debian 7 OpenVZ 20 NAT IPV4 ports Sponsor: None [ Offered by Post2VPS.Com ] Requirements - 5 posts to ask for the vps and same to keep it yours and please make a review after a week of usage. Link - post2vps.com
Freedomain.club offers vps and tld's, requritements 50 points to ask for the vps and same to keep it.Following are the vps specification : > 2 CPU Cores > Disk Space: 10GB (SSD Cached) > RAM: 512MB > Bandwidth: 512GB > 1 * IPV4 > Any linux operating system Give it a try. Link : www.freedomain.club