Programmatic upload to Nextcloud file drop

Suppose one has created an anonymous file drop share in Nextcloud and then copied the URL link for that shared folder.

Is there a way that a program can do the equivalent of a user dropping a file to that shared upload location?

Check out for answers below

I believe real answer lies in this repository