我在Xamarin.Forms
中执行以下代码时,框架不在模块中var httpClient = new HttpClient();
httpClient.BaseAddress = new Uri("http://abcd.com");
string json = @"{""userNo"":""xyz"",""passcode"":""12345""}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
HttpResponseMessage rsponse = await httpClient.PostAsync("/credentialCheckAp.cgi", content); // Problem Occurs in this line while debugging
var result = await rsponse.Content.ReadAsStringAsync();