Webhook vs mqtt method. particle electron

I am using Ubidots but I have two methods for publishing my temperature sensor data.
What method do yo recommend me to use? and why?

-Webhook for me is easy , cause I am using Particle.Publish
-MQTT is rare beacause I have to use specific ubidots programation functions.

But I dont know what is the stable, reliable method…


There is also the “native” TCP/UDP way which is featured in this library (recommended option by Ubidots)

But AFAIK only webhooks keep the whole communication secure (use HTTPS)

1 Like