8 lines
144 B
Bash
Executable File
8 lines
144 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$#" -lt 2 ]; then
|
|
echo "Usage: $0 <https://domain:port> <user>"
|
|
exit 1
|
|
fi
|
|
curl -X GET --basic -u "$1" "$0/v2/_catalog"
|