Closed vctqs1 closed 2 years ago
Hello, I'm doing some experiment with Dockerfile and setting HTTP_USERNAME and HTTP_PASSWORD
but I will fail when I call at normally (like docs)
vctqs1$ http :5000/enviroments HTTP/1.1 401 Unauthorized Connection: keep-alive Content-Length: 0 Date: Wed, 09 Feb 2022 10:52:03 GMT Keep-Alive: timeout=5 WWW-Authenticate: Basic realm="sofe-deplanifester" X-Powered-By: Express
sorry I get confused -a username:password will help
-a username:password
http -a username:password :5000/environments
Hello, I'm doing some experiment with Dockerfile and setting HTTP_USERNAME and HTTP_PASSWORD
but I will fail when I call at normally (like docs)