InFlux Data API v.2 making queries

Hi everyone! I´m trying to make queries against InFlux Data API v.2. I run into trouble trying to compose the Body using postman. Does anyone know where to get answer for specific questions? using the URL: /api/v2/query?org={myorg}
Example body:
|> range(start:-1000h)
|> group(columns:["_measurement"], mode:“by”)
|> sum()’ (edited)

You need to set a couple of headers (auth, content-type etc) too.

There’s an intro here and full docs here.

1 Like