I want to create an IoT system. My system contains a robotic arm, a CNC machine and a web page. I want to use MQTT in which I can publish from my web page to robotic arm to pick up the object and put it on the table of the CNC machine. My problem is that I don't know how to connect the web page to AWS IoT and publish messages from my page to the robotic arm.
This question is not a duplicate of connect CNC to AWS IoT, I was asking there about how to connect CNC machine to IoT and here I am asking about how to use a webpage to send messages. I want to start the manufacturing process when I press the push button on my webpage. All I found is how to make the messages come to you in your browser, I can't find examples showing me how I can send messages from my webpage.
This is a followup of this question.