public Object RefreshWifi() { var syncIOFeature = HttpContext.Features.Get <IHttpBodyControlFeature>(); syncIOFeature.AllowSynchronousIO = true; StreamReader sr = new StreamReader(Request.Body); string data = sr.ReadToEnd(); string[] words = data.Split(new char[] { '#' }); return(Json(Saver.CreateWifi(words[0], words[1]))); }