Listens for a particular GET request and executes code on the server