Sending raw binary body from pre-scripting variable


I am trying to send encrypted JSON using CryptoJS, but I cannot find out how to send raw binary with content-type like “application/octet-stream”.

In the request script, I prepare the JSON data, then I encrypt it using CryptoJS, and finally I should post the encrypted raw binary data as the body of the request.

In the body tab, I cannot use “Binary” as it expect a file, and using Raw→Text will encode the raw binary which I dont want.

How to proceed in that case ?