gsm check remote filename exists!!!

Hello everyone,
you can make a request to assess the presence or absence of a file on a server?
for example a txt file

www.mydomain.com/public/file001.txt

you can use a GET or POST to get the answer?