How to post data to in flux with https

Hi .
I try to post data with “curl https://xxxxx:8086” .But dose not work .
how to do it with https.

This command to execute. it not error show on terminal.
curl -s -i -XPOST ‘https://influxdb:8086/write?db=mydb’ --header ‘Authorization: Token admin:admin’ --data-binary @data2influx.txt

Thank you.

Try adding -v option for detailed output.
I guess you need -k for insecure connection.

1 Like

Thank you. it work. :heart_eyes: :heart_eyes: