Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Variables
- URL="http://$UN:$PW@localhost:8080/rest/v1"
- # Login
- echo "Please enter your username and password."
- read -p "Username: " UN
- read -s -p "Password: " PW
- echo $UN
- echo $PW
- echo $URL
- "http://${UN}:${PW}@localhost:8080/rest/v1"
- "http://"$UN":"$PW"@localhost:8080/rest/v1"
- "http://"${UN}":"${PW}"@localhost:8080/rest/v1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement