and how to set up the page it connects to in order to receive data from said page.
Only answering this party as Greek answered the rest for now
There is no difference in how the page is set up. Technically you don't "connect to" the page, you connect to the webserver, which delivers the page. The webserver doesn't care who is connecting, or how they're connecting (unless your configure it otherwise) as long as the request is valid, which Greek's resource will help your with.
Additionally, your URL suggests you're trying to make an auto updater. if this is the case, just use the existing one. It's pretty much, and the less add-ons that do the same thing that the user has to deal with, the better.