我正在尝试通过API调用编辑现有的Gist,遵循API文档,我正在进行如下卷曲调用:
curl -X PATCH -d'{"description": "the description for this gist", "files": {"file1.txt": {"content": "updated file contents"}}}' https://api.github.com/gists/5790365
但它不断返回"未找到"错误.
我在这里错过了什么吗?
这可能是一个愚蠢的问题,但我找不到答案.那么,如何在每个vim文件的末尾添加¬?它更像是造型,避免尾随空间等,就像这个colorscheme:http://ethanschoonover.com/solarized/img/solarized-dualmode.png
提前致谢.