docs-v2/layouts/shortcodes/api/cloud/curl/auth.sh

5 lines
191 B
Bash

curl --request POST https://cloud2.influxdata.com/api/v2/write \
--header "Authorization: Token YOURAUTHTOKEN" \
--data-urlencode "org=myorg" \
--data-urlencode "bucket=example-bucket"