made http get have optional arguments