Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use RunConsole2 to Execute Long Commands
#3
Thanks for your help.
I set the token in a variable named cl , and placed the base64 content of the file to be uploaded in an external data.json file.
This seems to have solved my problem, and uploading large files has also been successfully tested.
 
Code:
Copy      Help
str cl=
F
;curl -s -L -X PUT
;-H "Accept: application/vnd.github+json"
;-H "Authorization: Bearer {token}"
;-H "X-GitHub-Api-Version: 2022-11-28"
;-H "Content-Type: application/json"
;https://api.github.com/repos/{owner}/{repo}/contents/{path}
;--data "@data.json"


Messages In This Thread
RE: Use RunConsole2 to Execute Long Commands - by Davider - 06-03-2025, 09:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)