createApplication
#!/bin/bash
#
# This script will login and create an application. It depends on helpers in the helpers script as well as host and login
# information found in apiHostInfo and loginCredentials, respectively.
#
source apiHostInfo
eval $(cat loginCredentials)
source helpers
login
echo "* creating application 'App123'..."
curl $SSL_CERT -X POST -H ''"$AUTH_HEADER"'' -H 'Content-Type: application/json' -H 'Accept: application/json' --data @- $MASKING_ENGINE/applications <<EOF
{
"applicationName": "App123"
}
EOF
echo