How to send data from ESP32?

Hi,

I don’t know how to send data from ESP32 (or ESP8266) to Influxdb via HTTP Client. Is there any tutorial how to do it? I’m using Arduino IDE.