Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone !
I use Open Studio for ESB.
I'm doing so tests using tRestRequest and tRestResponse.
In tRestResponse, I can see that the returned body type can be byte[].
My question : Is there a way to return binary data, and begin a file download, for instance if the REST request is done via a web browser ?
Thank you 🙂
Hi
This is a new feature, see jira issue.
tRESTResponse will be able to return files and other binary data more effectively, instead of converting such data to byte[] first. If tRESTResponse data type is set to Object then it will be cast to InputStream
Regards
Shong
Hello @Shicong Hong
Do you know when this feature will be available for users, in Open Studio version, and in Enterprise version ?