build url params in wget method