add base http get logic for gists