added optional http get