REST API Content-Type : application/octet-stream

My output of API is octet-stream . Is there way I can define in the data source
user
19-12-2017 19:04:24 -0500

1 Answer

The question comes to what is in that response. If the API return an octet/stream then the content is binary. If the content is really binary (like an image or a pdf file) then there is not much we can do. The best option would probably be to present a link to that API from a differnt view, so that the end user can click and downlod the binary content On the other hand, if you knwo the logic to transform that binary into structured content (like the first 5 bytes are column A, the next 10 bytes are column B, etc), then you could use a Denodo Custom Input Filter that receives the binary stream and transforms that into readable content. You can find more details about Custom Input Filters in the [Denodo Developer Guide](https://community.denodo.com/docs/html/browse/6.0/vdp/developer/developing_extensions/developing_custom_input_filters/developing_custom_input_filters) as well as in the Denodo SDK documentation available in the <DENODO>/docs/vdp/api folder of your installation
Denodo Team
20-12-2017 13:31:57 -0500
You must sign in to add an answer. If you do not have an account, you can register here