petertsehsun
10 years agoOccasional Visitor
service responses binary data
Hi,
I am trying to create a mock service that reads some binary data from a file. The mock service needs to send back a http response using just the binary data as the content. Since I do not know the encoding of the binary data, I cannot encode the binary to, e.g., hex string. I have tried to search for possible solutions, but I couldn't find what I am looking for. Can anyone please help me with this issue? Thank you very much in advance.
Regards,
Peter