add simple request code from OctoKit site.