ESP8266 - how to read data from txt on a server

I have a txt file on my webpage. How can I read it with Arduino Mega with ESP8266? So my file is at "" and contains only 1 digit, 0 or 1. I am connected to the internet trought AT commands.

Just use a GET like you would for a html page.