Forum Discussion

rudolfstarosta's avatar
rudolfstarosta
New Contributor
3 years ago

Return binary data from file as response in REST mock

Hi,

 

I am trying to create a REST mock service that reads binary data from a file. The mock service needs to send back a HTTP response using just the binary data as content. I do not know the encoding of the binary data. I searched for possible solutions, but I couldn't find any. Can anyone please help me with this issue? Thank you very much in advance.

 

Regards,

Rudolf