query 322 Bytes
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh

root='https://bwidm-test.scc.kit.edu/rest/external-user'

user=hdfrest
pw=hdfrest555634
#curl --basic -u hdfrest:hdfrest555634 -H "Content-Type: application/json" -X POST -d '{"externalId":
#  "test0002"}' https://bwidm-test.scc.kit.edu/rest/external-user/create

http -va $user:$pw ${root}/find/externalId/$1