ufna / VaRest

REST API plugin for Unreal Engine 4 - we love restfull backend and JSON communications!
https://www.unrealengine.com/marketplace/en-US/product/varest-plugin
MIT License
1.09k stars 301 forks source link

GetResponseContentAsByteArray? #361

Open MyVivaCaleb opened 3 years ago

MyVivaCaleb commented 3 years ago

Thank you for this plugin, it has simplified development of the project I am working on significantly. I'm wondering if you could provide me some pointers as to how one might get access to the raw binary of a return though.

Currently trying to pull audio down from asure TTS which returns a binary blob. The plugin seems to handle this well enough, but the only way I can seem to get access to the return is if its first converted to a string.

I have dug though the source code a little to see if I can't just expose it, and while I presume it has something to do with the "Response->GetContentAsString()", I am not sure where that lives.