Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash script to upload image using API? #77

Open
mptpro opened this issue Sep 8, 2024 · 2 comments
Open

Bash script to upload image using API? #77

mptpro opened this issue Sep 8, 2024 · 2 comments

Comments

@mptpro
Copy link

mptpro commented Sep 8, 2024

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

thanks

@mdshack
Copy link
Owner

mdshack commented Sep 8, 2024

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.

@mptpro
Copy link
Author

mptpro commented Sep 8, 2024

Thanks @mdshack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants