Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
httpput-postfields.c: new example doing PUT with POSTFIELDS #6188
@jay Many REST apis require use PUT with a little json/text payload. For example this is what I am working on now, it has many such examples: https://docs.github.com/en/free-pro-team@latest/rest/overview/endpoints-available-for-github-apps
Using PUT to perform a file-upload is actually very rare in practice, I think most users are more interested in the former.