Pretty basic question - and forgive my ignorance, I've hunted around and can't see clearly how people are doing this.
I want to run a curl command like so
INPUT -> curl -> plantuml local server -> PNG (stdout) -> filesystem
So, ideally it would be something like :
cat ./my-beautiful-diagram.puml | curl -v -H "Content-Type: text/plain" --data-binary @- http://localhost:8080/ihaventacluewhaturlorparamstouse/ > my-beautiful-diagram.png
Can anyone suggest a good place to get this information?
Thanks,
Bryan
--->
Update - I've figured it out - and it's very simple but might as well leave this post up in case someone else goes looking
cat ../my-beautiful-diagram.puml | curl -v -H "Content-Type: text/plain" --data-binary @- http://localhost:8080/png/ --output - > /tmp/out.png