Created
December 5, 2012 06:02
-
-
Save whyink/4212806 to your computer and use it in GitHub Desktop.
curlPass
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
ofshard@whyink:~/346321 (master) $ curl -X POST \ -H "Content-type: application/json" \ --data "{ \"credentials\": githubUser:githubPassword }" \ https://nodejitsuUse | |
r:nodejitsuPass@webhooks.nodejitsu.com/1/auth/github | |
curl: (6) Couldn't resolve host ' -H' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ofshard@whyink:~/346321 (master) $ curl -X POST -H "Content-type: application/json" --data "{ "credentials": githubUser:githubPassword }" https://nodejitsuUser:nodejitsuPass@webhooks.nodejitsu.com/1/auth/github
{"error":"app:data:malformed","reason":"The body you posted was not valid for the contenttype you specified","status_code":500}