Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7713133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:47:43+00:00 2026-06-01T01:47:43+00:00

Is it possible to post binary files (such as images) to GitHub gists via

  • 0

Is it possible to post binary files (such as images) to GitHub gists via the HTTP api?

In particular, the Gist api docs describe how to post files with string contents. There are two problems here for uploading images. One is that the api has something like a 64kb limit on POST requests (although this is not documented), which is pretty small for image files. Second, it’s not obvious what encoding should be used on the wire for image files.

It’s easy to do this by cloning the git repository associated with the Gist, adding the file, and pushing to the repository, but that requires git and I’d like to make this work on systems without git installed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:47:45+00:00Added an answer on June 1, 2026 at 1:47 am

    The response I received from GitHub is that they don’t intend to support posting binary files to Gists via the HTTP API, sadly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to send binary chars feom the client to server via post
One possible solution could be simple HTTP get or post request, but that wouldn't
Is it possible to detect the HTTP request method (e.g. GET or POST) of
Possible Duplicate: Pre & post increment operator behavior in C, C++, Java, & C#
Is it possible to make a POST request from Ruby with open-uri?
Is it possible to have a post-mortem ( or post-exception ) debugging session in
Possible Duplicate: PHP detecting request type (GET, POST, PUT or DELETE) This should be
Is it possible to combine Ajax post with jQuery UI dialog? And I want
I read an interesting DailyWTF post today, Out of All The Possible Answers... and
Reading this blog post about HttpOnly cookies made me start thinking, is it possible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.