GitLab v4 API update file with Google Apps Script
I am trying to update a certain file in my GitLab repo using the v4 API and Google Apps Script.
As we can see here https://docs.gitlab.com/ee/api/repository_files.html#update-existing-file-in-repository, the payload have to be inserted in the url. This is where problem begins, Google Apps Script throws an error like this:
Limit Exceeded: URLFetch URL Length. Which only occurs when the file contents is too large (which makes sense).
Could you please have a look and give an insight on this?
In my opinion is not practical to insert the payload into the url. That's why the HTTP Body message is.