I am trying to add commit to the pull request using GitHub API for issues. But seeing error
curl -H "Authorization: token "Key"" -X POST -d '{"body": "Failed"}' "https://github-site/repos/:repository/issues/PR_NUMBER/comments"
Response for the curl command.
{ "message": "Not Found", "documentation_url": "https://developer.github.com/enterprise/2.15/v3/issues/comments/#create-a-comment" }