ESP8266

I want to interface esp8266 to a controller to just connect to a network and open a webpage to check if its working. Can anybody provide me how to do it?