Ok, i think i found an example of a POST in this link (https://www.amebaiot.com/en/amebapro2-arduino-motion-notify/) but its using WifiClient instead of HttpClient.
that’s fine with me, however, i was wondering is it really necesarry to save the image first onto the SD card before sending it over via POST?
can we not send the image that is captured by this line below directly to a server via POST?
Camera.getImage(CHANNEL, &img_addr, &img_len);