How to use
/tool fetch
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.
$ 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”}’