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: “https://xx-xxxxxxxxxxxxnte.000webhostapp.com/nodemcu/bin/ota.txt”
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:"“https://xx-xxxxxxxxxxxxnte.000webhostapp.com/USER=”"-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.