Code: Select all
var webClient = new System.Net.WebClient();
webClient.Headers[HttpRequestHeader.Accept] = "text/xml";
webClient.Encoding = Encoding.UTF8;
string response= webClient.UploadString("http://bytemotionappV2.cloudapp.net:807/Mobile/Hospitality/WP/producao/loginXamarinGet.php?username=1&password=2","");