Sending raw binary body from pre-scripting variable

Hello pmaillet,

you found a solution to this?

This seems to be a duplicate of this older thread - also with no solution:

I have the same questions as well:
How can we update the request body before sending via pre-script to (AES-encrypted) binary data?
It should be sent as “application/octet-stream” content-type, so no base64 encoding needed.

Thanks
Andreas