a method for sending request to tiedot http service, and gather server response