piston
piston copied to clipboard
What's the idiomatic way of dealing binary data?
trafficstars
Say for example, we use piston to process some images. what's the most idiomatic way of passing the image into the Piston and how to get it back after the processing? Is this supported at all right now?
To pass it, encode it as base64 and specify files[].encoding to be 'base64'
To get it back, I think our only option is to output it as base64 in the running submission, and decode the result from stdout