On 12/10/17 10:04, Simon Ransome wrote: [SNIP]
elsif url eq "/myajaxhandler":
# get your LED state from URL params self.send_response(200) GPIO.setStuffHere()
So I guess to call this I'd just to a HTTP "Get" to a URL "http://The.IP.Address.xx/myajaxhandler?Some=Params,Here=etc"
And then decode the params & bob's my uncle?
Steve