I have a simple request function that logs a user in. I just learned about aysnc method (I am a C# beginner) and saw that requests can be made using async and await. But I a
The absolute easiest way is to replace HttpWebRequest with HttpClient.
HttpWebRequest
HttpClient
You'll also want to use an asynchronous method signature:
public static async Task<string> LogInAsync(string email, string password)