hayhooks icon indicating copy to clipboard operation
hayhooks copied to clipboard

Sending a file via ByteStream

Open jacksteussie opened this issue 1 year ago • 0 comments

I have been trying to do the above, but can't find any easy-to-do way to go about this. My thinking as to the easiest way to do this would be to use the to_string function of the ByteStream class to serialize the bytes to a string using the proper encoding format, send it and the encoding format label over to hayhooks endpoint, and then have the api convert this string back into a ByteStream object. Would this be potentially more easily done as a custom component, or am I maybe overthinking this process and missing a simpler solution? Thanks!~

jacksteussie avatar May 14 '24 15:05 jacksteussie