extracted method to send http GET synchronous