Simple bash script putting image to a remote host with curl
download
$ git clone https://github.com/zckri/put-uploader.git
$ cd put-uploader
$ chmod +x upload.sh
$ mv upload.sh /usr/local/bin/upload
run
$ upload filename.png http://example.com/with/rest/put/endpoint