Simple restApi about MQTT protocol using Eclipse Mosquitto (open source MQTT broker).
Defult port: 127.0.0.1:1883
Using CMD: mosquitto -t myTopic -m "sasa"
File Location : C:\Program Files\mosquitto
POST Rquest: localhost:8080/send
{
"topic":"myTopic",
"message":{
"data":"sasa"
}
}