This is a project where I build a full smart lamp infrastructure comprised of a central server, supporting scripts and databases, as well as multiple clients.
To transfer the color data, I sent the values from the web form to a python file though a POST request. After receiving the data, my script inserts the RGB values from the sliders and the timestamp into a database.
My lamp periodically sends GET requests and displays the most recently submitted color in the database.