Mercurial > hg > LGDataverses
view scripts/api/data-deposit/get @ 11:08c950a22cee
new: add getAllDataverseAlias api for LGServices
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 09 Sep 2015 17:13:18 +0200 |
parents | a50cf11e5178 |
children |
line wrap: on
line source
#!/bin/sh USERNAME=pete PASSWORD=pete DVN_SERVER=localhost:8181 if [ -z "$1" ]; then echo "Please provide a URL to GET" exit 1 fi curl --insecure -s -u $USERNAME:$PASSWORD $1 | xmllint -format -