Nexmo CURL Examples
This repository is a collection of things you can do with Nexmo's APIs, all shown with cURL.
Pre-requisites
You will need cURL installed.
Copy config.sh
to config.local.sh
and edit it with your own configuration values.
If you don't already have a Nexmo account, you'll need one! You can find the API key and secret for your configuration settings on the Dashboard.
Run the code snippets
Each example includes the config.sh
and then the config.local.sh
files. Run them from the directory they reside in, for example:
cd messaging/sms/
./send-an-sms.sh
Get in touch
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 :)