mscorlib.dll throws 'System.NullReferenceException' when using SendAsync() function in ASP.NET 4.7.2
I have a web application (ASP.NET 4.7.2, C#). I am using HttpClient to do a POST request to webservice. When it comes to the point to execute this response = await client.SendAsync(request); it throws An unhandled exception of type 'System.NullReferenceException'…