Removed some debugging, fixed some encoding for the Gist request