to upload files to github repository using "$username:$token".. Or is there another method in ROS which is similar. Please help, I'm still a beginner./tool fetch
Code: Select all
$ curl -i -u username:$token https://api.github.com/users/octocat
curl \
-X PUT \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/octocat/hello-world/contents/PATH \
-d '{"message":"message","content":"content"}'