add get_jobs, implement http get, factor out http request