In response to the GET request via the 80th port, the site responds with the 301st code and sends it to a secure page. How to get from him the 200th code? I know that there is a generally accepted openssl, but in principle I don’t know what to do with it and what functions to call in which order, since https at the level below javascript (where everything is on the machine) did not work, but I need to connect from a windows-application site over a secure protocol.
Please tell me the procedure.