I am trying to edit an existing Gist via an API call, following the API docs, I make a curl call like this:
curl -X PATCH -d'{"description": "the description for this gist", "files": {"file1.txt": {"content": "updated file contents"}}}' https://api.github.com/gists/5790365
But he continues to return a "Not Found" error.
Did I miss something?
source share