influxdb-nodejs icon indicating copy to clipboard operation
influxdb-nodejs copied to clipboard

Allow to set content-type

Open lijie1129 opened this issue 6 years ago • 1 comments

https://github.com/vicanso/influxdb-nodejs/blob/598ade66d0dd5c9b7e48ff071187110acbcdd735/lib/http.js#L91

Maybe we can provide an option to allow content-type to be specified:

lijie1129 avatar Nov 01 '19 04:11 lijie1129

The fact is the http write points of influxdb supports form type, so you don't need to change the content type.

vicanso avatar Nov 01 '19 13:11 vicanso