The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

14 linhas
374 B

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. if [[ -z "${VULTR_API_KEY}" ]] ; then
  6. echo "VULTR_API_KEY not defined in environment"
  7. exit 1
  8. fi
  9. path=${1:?no path provided}
  10. shift
  11. curl ${@} -s -H "API-Key: ${VULTR_API_KEY}" https://api.vultr.com/v1/${path}