api is v3, the reason that I am trying to make a tool so that when you input your username and password for github and the repo name and description, it will initialize the repo and give you the url. My input is this -
curl -u {myuser}:{mypassword} -H "Content-Type: application/json" -d '{"name":"api-test","description":"made with github api","homepage": "https://github.com","private":true}' POST https://api.github.com/users/{myuser}/repos
I get the response
{
"message": "Not Found",
"documentation_url": "https://developer.github.com/v3"
}
. The docs say this : Creates a new repository for the authenticated user. POST /user/repos. https://developer.github.com/v3/repos/#create. I am very new to github-api, and thankful for help.