Create an issue with image via GitHub API
问题 I am creating issues with https://developer.github.com/v3/issues/#create-an-issue. Is it possible to attach images to message body? I tried 'Accept', 'application/vnd.github.v3.html+json' and emmbeded the image as img elment base64 encoded. The image will not show, but the ticket editor shows the img element. 回答1: There is no simple solution to this. The official docs say nothing about that which means it's not supported. The GitHub.com authentication works based on cookies while the API