How to properly make a http web GET request

Servers sometimes compress their responses to save on bandwidth, when this happens, you need to decompress the response before attempting to read it. Fortunately, the .NET framework can do this automatically, however, we have to turn the setting on. Here’s an example of how you could achieve that. GET GET async POSTContains the parameter method … Read more

How to make an HTTP POST web request

There are several ways to perform HTTP GET and POST requests: Method A: HttpClient (Preferred) Available in: .NET Framework 4.5+, .NET Standard 1.1+, .NET Core 1.0+ . It is currently the preferred approach, and is asynchronous and high performance. Use the built-in version in most cases, but for very old platforms there is a NuGet package. Setup It is recommended to instantiate one HttpClient for your application’s … Read more

error code: 523