Curl vs. requests
Here is an interesting development of the Geekhouse project. I wanted to add a simple 16x2 LCD display to the server. I connected the display to the I2C pins and added the code to serve the appropriate URL (/lcd?text=...). I started testing it with cURL and realized that I had to use the --url-query flag to pass any text with spaces, like this: curl -X POST --url-query 'text="Hello world"' http://192.168.1.130/lcd It worked fine with the curl command, and the text was displayed on the LCD. ...