This example app shows how you can use the Catapult API verify a phone number by sending to it a SMS or phone call with confirm code.
- Configured Machine with Ngrok/Port Forwarding -OR- Azure Account
- Catapult Account
- Visual Studio 2015
- Common Azure Tools for Visual Studio (they are preinstalled with Visual Studio)
Build and Deploy
Azure One Click
Settings Required To Run
Catapult User Id
Catapult Api Token
Catapult Api Secret
Clone the web application.
git clone https://github.com/BandwidthExamples/csharp-phone-verificator.git
Before run them fill config files (Web.config) with right values:
catapultApiSecret - auth data for Catapult API,
Open solution file in Visual Studio and build it.
You can run compiled C# code with IIS Express on local machine if you have ability to handle external requests or use any external hosting (like Azure).