Hostinger Residencial automation


Hello. I want that my sites, folders and archives be all private. Until then it’s everything working. I use NodeMcu to residencial automation.

When I do a request at the folder without password I do this:

URL: “

client.print(String("GET “) + url + " HTTP/1.1\r\n” +
"Host: " + host + “\r\n” +
“User-Agent: BuildFailureDetectorESP8266\r\n” +
“Connection: close\r\n\r\n”);

Everything goes well.

But when I atribute a passwor to the folders I can’t access the archives.

I don’t know how to atribute a User and a Password at the URL:"“”"-PASS=""/nodemcu/bin/ota.txt""

What I want is have access to my folders and archives using a password at the URL or at any part of the code.

Thanks with all help.