Get your web server ready

You can make calls to our API from all popular web servers and nearly all popular web programming languages. You just need to make sure your web server and programming language support cURL.

We're going to create a simple form to send messages in php and on a server running Apache. 

Check To See if Curl Is Installed
1. Create a file in your web directory (in Ubuntu it would be in /var/www folder), name it info.php
2. Open that file and type this command:

<?php phpinfo(); ?>

3. Save that file
4. Open your favorite browser and open that file (ex: http://localhost/info.php)
5. Now you will see the Information about your PHP installation
6. Search for Curl, and if you cannot find it, it mean your php doesn’t have curl installed.

Install Curl
1. Open your terminal and type this command:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt

2. After it finish open php.ini file (mine is at /etc/php5/apache2/php.ini ) and add this command:
3. Save the file and restart Apache with this command:

/etc/init.d/apache2 restart

4. Check the PHP information page again, you will find PHP-CURL installed
5. That’s it