added sync and async http get requests