get the get function to point to our server