I\'m working with the Twilio API and it provides examples in PHP and Ruby. I\'m working on a site to send text messages through the API that\'s coded in ASP.NET MVC 3, and u
The -u option in Curl is to specify a username and password for Server Authentication.
-u
For C# this is set using the WebRequest.Credentials property.
Try including
request.Method = "POST";
and
request.Credentials = new NetworkCredential("username", "password");