How to capture image/filedocument in a rest put service in Mx?

Hi all,   At the moment we have a rest put service running, we capture the incoming data. We want to extend these service with an image/filedocument. Read in the rest services github doc and some posts, but I did not succeed. I simply want to capture the image wich is sent in the body of the put call.   Could you guys may advice me step voor step how I can reach this? I attempt by associating the root parameter (incoming) to put service with a filedocument object to see wether it would be automatically detect as filedocument, but unfortunately not. Seen this is the first time to capture images, I could use your best practices for sure.   thanks
1 answers

You could try to encode / decode the image as a base64 string to transfer it.