apicheats.dev Cheat sheet Raw .md
POST

Try POST /gists — GitHub API

GitHub playground

Create a gist

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Body application/json

3 body fields
  • description · optional · string — Description of the gist
  • files · required · object — Names and content for the files that make up the gist
  • public · optional · boolean — Flag indicating whether the gist is public