コード例 #1
0
 // GET: api/TestTwiml
 public HttpResponseMessage Get(TwilioRequest req)
 {
     
     TwilioResponse res = new TwilioResponse();
     res.Message("Hello There", new {voice = "alice"});
     return Request.CreateResponse(HttpStatusCode.OK, res.Element);
 }
コード例 #2
0
 public TwilioResponse InboundAction(TwilioRequest request)
 {
     return new TwilioResponse();
 }