shotshare icon indicating copy to clipboard operation
shotshare copied to clipboard

Bash script to upload image using API?

Open mptpro opened this issue 1 year ago • 2 comments

Is there a way to write a bash script that can upload an image to my SS instance using the API?

thanks

mptpro avatar Sep 08 '24 00:09 mptpro

Hey @mptpro, this should definitely be possible using Curl, the upload endpoint accepts multipart form data.

Here is a StackOverflow on posting files using Curl.

mdshack avatar Sep 08 '24 14:09 mdshack

Thanks @mdshack

mptpro avatar Sep 08 '24 22:09 mptpro