Script for sending data from the a NodeMcu ESP8266 with the DHT22 sensor to a remote API endpoint using the httpclient library.
This script can be paired with the following API server and status page: https://github.com/skykery/temp-reporter
Use right WIFI credentials and adapt the code to use your API endpoint and http method. Upload it on your NodeMcu and be amazed.