Created
September 16, 2013 17:25
-
-
Save jameswhite/6583744 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X GET -H "Authorization: token ccccccoooooooooooooooccccccccccckkkkkkkk" https://api.github.com/repos/eftsource/cfengine/pulls/9 | |
{ | |
... returns PR data for PR #9 as unmerged... | |
} | |
curl -X POST -H "Authorization: token ccccccoooooooooooooooccccccccccckkkkkkkk" https://api.github.com/repos/eftsource/cfengine/pulls/9/merge | |
{ | |
"message": "Not Found", | |
"documentation_url": "http://developer.github.com/v3" | |
} | |
curl -X PUT -H "Authorization: token ccccccoooooooooooooooccccccccccckkkkkkkk" https://api.github.com/repos/eftsource/cfengine/pulls/9/merge | |
<html><body><h1>502 Bad Gateway</h1> | |
The server returned an invalid or incomplete response. | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment