{
string UserName = login.UserName;
string Password = login.Password;
var client = new HttpClient();
var response = client.PostAsJsonAsync("http://localhost:1724/api/LoginAPI", login).Result;
Session["USERID"]=?;
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vignesh ManiRank #98 · 22.1K reputationPosted Feb 10, 2016, 11:43 AM EST