title: Build HTTP GET request with port number and parameters
body: <p>I am trying to do a very simple thing, build an URL for a get request that contains a port number and some parameters, as it follows <code>http://localhost:8080/read?date=whatever</code></p>
  
  <p>I have tried several ways without success, it shouldn't be too difficult but i cannot come up with a solution.</p>
  
  <p>I hope someone helps me, it would be greatly appreciated</p>
  
  <p>Thanks in advance </p>