Question

I would like to send POST message using bash script.In body there should be image but i don't know how to put them.

Was it helpful?

Solution

You can use cURL for that:

curl -F File=@/path/to/your/file http://your.url

If that does not work, please add more details to your question.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top