comparison scripts/api/data-deposit/get @ 10:a50cf11e5178

Rewrite LGDataverse completely upgrading to dataverse4.0
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 08 Sep 2015 17:00:21 +0200
parents
children
comparison
equal deleted inserted replaced
9:5926d6419569 10:a50cf11e5178
1 #!/bin/sh
2 USERNAME=pete
3 PASSWORD=pete
4 DVN_SERVER=localhost:8181
5 if [ -z "$1" ]; then
6 echo "Please provide a URL to GET"
7 exit 1
8 fi
9 curl --insecure -s -u $USERNAME:$PASSWORD $1 | xmllint -format -