Hi,
I need to access data from influxDB by its API.
I saw here that I needed to use “Create record(POST)” in data configurator after set up “base” configuration.
where I am ? , see below :
I know that this curl query works :
curl --request POST \
https://influx.mysite.com/api/v2/query?org=MyCompany \
--header 'Authorization: Token ***MyToken***' \
--header 'Accept: application/csv' \
--header 'Content-type: application/vnd.flux' \
--data 'from(bucket:"myBucket")
|> range(start: -12h)
|> filter(fn: (r) => r._measurement == "myData")'
it returns a csv flux
(an other issue ^^)
See my config which returns “OK”
If I put headers, I have errors :
Where could I put my headers and query to obtain my csv data ?
thanks