how to get token of a raw github file 1

how to get token of a raw github file

curl -H 'Authorization: token ' 
curl -v -o mysh.sh -H 'Authorization: token ' https://raw.githubusercontent.com/admin/CICD/master/cicd.sh?token=AKNX3RPGGGQA5KGXL5AQYUS7DBW4I

Here is what the above code is Doing:
1. curl is the command to make an HTTP request.
2. -v is the verbose flag, which tells curl to print out the request it’s making.
3. -o is the output flag, which tells curl to write the response to a file.
4. mysh.sh is the name of the file to write to.
5. -H is the header flag, which tells curl to add a header to the request.
6. ‘Authorization: token ‘ is the header we’re adding.
7. https://raw.githubusercontent.com/admin/CICD/master/cicd.sh?token=AKNX3RPGGGQA5KGXL5AQYUS7DBW4I is the URL we’re requesting.

Similar Posts