How can I send a message to the github API with curl?

coronis

New Member
I am trying to modify the label color like this: LABEL API\[code\]curl -k -u "xx:yy" https://api.github.com/repos/xx/zz/labels -H "Content-Type: application/x-www-form-urlencoded" -d "{'name':'Bug','color':'ff00ff'}"\[/code\]The format looks okay to me but it returns:\[code\]{ "message": "Problems parsing JSON"}\[/code\]Does anyone have any idea what might be wrong with my Json.
 
Back
Top