#if DEBUG HttpClientHandler insecureHandler = DependencyService.Get<ihttpclienthandlerservice>().GetInsecureHandler(); HttpClient client = new HttpClient(insecureHandler); #else HttpClient client = new HttpClient(); #endif var data = new FormUrlEncodedContent(new[] { new KeyValuePair<string, string="">("FechaRegistro", p0), new KeyValuePair<string, string="">("TipoGasto", p2), }); try { string url = "https://10.0.2.2:7254/api/PostData/postTransacciones"; client.BaseAddress = new Uri(url); var response = await client.PostAsync(url, data); if (response.IsSuccessStatusCode) // incomplete
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)