Troubleshooting HTTP POST Error on ESP32 with ADXL335 Accelerometer
Hey guys @Middleware & OS @MCU, MPU & Firmware , I am attempting to set up an ESP32 to collect vibration data using an ADXL335 accelerometer and send it to a server for predictive maintenance analysis. The data should be transmitted over Wi-Fi, I have configured the ESP32 to connect to a Wi-Fi network, set up the ADXL335 accelerometer to read vibration data, wrote code to send the sensor data to a server using HTTP POST requests. But still getting the error
This is my code
4 Replies
It is a connection problem. check your server URL make sure it's accecssible, and verify your ESP32 is connected to Wi-Fi then try again..
@Enthernet Code have you checked if your wifi is properly connected and if the Serial Monitor is open at the correct baud rate (115200 as per your setup)
Solution
Thanks, it worked after correcting the url I forgot to add : after https