Connect servo to upload button from web


For my project I am making an interactive installation. The installation is basically a vending machine with just a servo. I want to connect the servo to an upload button on the web. When a file has been submitted with the upload button the servo needs to rotate so that something can come out of the vending machine.
I have not made a website with an upload button yet. How could I make a simple website with an upload button that is connected to the servo motor?

I am using an ESP8266MOD

2 posts were merged into an existing topic: Let servo rotate when file has been uploaded on webpage