Connection with Influxdb - cURL

Begonnen von bartmarchand, 12. Januar 2018, 20:12:16

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 1 Gast betrachten dieses Thema.

bartmarchand

Hello,

I'm trying to connect with Influxdb HTTP API.
The working cURL command on my debian system is: curl -i -XPOST 'http://localhost:8086/write?db=mydb'; --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'

I've tried the same command in the http demo, but there is a http get 252.
What is the syntax for using cURL?
Thanks

peewit

hello

in the program http_demo the block http_get is used.

the module http_get can only execute an http-get command but no http-post command.