view scripts/issues/796/builtin2shib @ 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
echo args: $@
if [ -z "$1" ]; then
    echo "call with foo:bar:baz"
else
    OUTPUT=`curl -s -X PUT -d "$@" http://localhost:8080/api/test/user/convert/builtin2shib`
    echo $OUTPUT
    echo
    echo $OUTPUT | jq .
fi