Binary format data push to content server API (api/v1/nodes) OTCS version 24.3

Hi All ,

I am using web report rest client for getting the data downloaded from third party application.
Data is getting stored in below variable sample code:-

@method:GET
@secure:true
@header:[ll_reptag_!header /]
@output:JSON:binaryfile /]

My file is stored in variable names as binaryfile. My use case is i want to push this file to content server for which i have generated otcsticket using WR rest client and now i am calling the API.

https://servername/cs/cs/api/v1/nodes Post method

and i am setting the header with otcsticket. To create a document 4 params are required

parm 1) type =144

parm 2) name=filename

parm 3) parent_id=120871

parm 4) file=""

I cant upload the direct binary file in 4 parameter.

Any way to solve this issue ?

Thanks
Nitesh