Why don't you just buy an ESP8266 shield for your Uno since you already own one and then the above code should do what you want?
Why don't you just buy an ESP8266 shield for your Uno since you already own one and then the above code should do what you want?