The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. #!/bin/bash
  2. if [[ -z "${DIGITALOCEAN_API_KEY}" ]] ; then
  3. echo "DIGITALOCEAN_API_KEY not defined in environment"
  4. exit 1
  5. fi
  6. path=${1:?no path provided}
  7. shift
  8. curl ${@} -s -H "Authorization: Bearer ${DIGITALOCEAN_API_KEY}" 'https://api.digitalocean.com/v2/'"${path}"''