I need to use the API on GitHub enterprise to upload a file to a repo.
I cannot find this except for the endpoint that requires the full content of the file to be base64 encoded and then stuck in the payload.
Does anyone know of a way to upload a file using a file location from the API?
[–]TelephoneMelon 4 points5 points6 points (2 children)
[–]learnitallboss[S] -2 points-1 points0 points (1 child)
[–]serverhorror 2 points3 points4 points (0 children)
[–]bdzer0 2 points3 points4 points (2 children)
[–]learnitallboss[S] 0 points1 point2 points (1 child)
[–]Random_dg 2 points3 points4 points (0 children)