Deploy WAR

_token=...
_application=xurubota
_war=./webapp/target/webapp-0.0.1.war

curl \
    -X POST -u ":${_token}" \
    -d "app[name]=${_application}" \
    -d "app[stack]=cedar" \
    "https://api.heroku.com/apps"

curl \
    -X POST -u ":${_token}" \
    -F "war=@${_war}" \
    "https://direct-to.herokuapp.com/direct/${_application}/war"

curl \
    -X DELETE -u ":${_token}" \
    "https://api.heroku.com/apps/${_application}"