Removed unused http code get function