How to Request HTTP(S) API or Page in MFC
Requesting HTTP resources in MFC may be a tricky part because you cannot use simple API as you would have used with files. You have to use special classes.
If you need to download a webpage, some file or make a REST API call using C++/MFC, you can use the following simple code sample:

