Community discussions

MikroTik App
 
isemau
just joined
Topic Author
Posts: 1
Joined: Fri Aug 06, 2021 11:34 pm
Location: Indonesia

How to push files to github repository

Mon Aug 23, 2021 4:17 am

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"}'

Who is online

Users browsing this forum: No registered users and 20 guests