So "visiting a link" means doing the same action as if you click on a link in your browser?
I'm not familiar with the inner details of how a browser works
I guess it is some kind of a http-get or http-post-command sended to the website.
maybe this is interesting for you
best regards Stefan