GitHub API to Create a File
问题 So I'm trying to familiarize myself with the GitHub API. I'm using cURL commands to implement some of their basic functionality. I can get the basic authorization & repository creation correctly. Currently, I'm trying to create a file in a repository using their API & am facing the "message":"Not Found" error as the response. Their documentation suggests this: PUT /repos/:owner/:repo/contents/:path I came up with this as the cURL equivalent: curl -H 'Authorization: <token>' -d '{"path": "test