Created
August 27, 2014 09:17
-
-
Save kerslake/4b42ae4bed2eec64ee77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WelcomeController : TwilioApiController | |
{ | |
public HttpResponseMessage Post(VoiceRequest request) | |
{ | |
var response = new TwilioResponse(); | |
response.Say("Welcome to this Twilio demo app. Please enter your 3 digit pin code."); | |
response.Gather(new { numDigits = 3, action = string.Format("/api/Authenticate") }); | |
return this.TwiMLResponse(response); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment