This repository is a collection of cURL code snippets, demonstrating the functionality of the Vonage APIs. The code snippets are used in the developer documentation, such as in Send a Unicode SMS.
You will need cURL installed.
If you don't have a Vonage API account, you'll need to create one!
You can find the API key and secret for your configuration settings in your Dashboard.
You can either directly edit the config.sh file and add in your configuration values, or you can create a config.local.sh file, which will override the main configuration file.
As each example requires access to the configuration files, you must run them from the directory they reside in, for example:
cd messaging/sms/
./send-an-sms.sh
Questions and comments are welcome!
You can create an issue on this repository. Patches are also very welcome, please go ahead and send us fixes or additional examples by opening a pull request.