** How to upload TIF file with octe-stream content-type **

I have a REST POST call with

web_rest("POST: Add content to Page",
        "URL=">Host:Port/.../page",
        "Method=POST",
        "EncType=raw",
        "Snapshot=t852866.inf",
        HEADERS,
        "Name=X-IntegrationServer-Resource-Name:", "Value=data.tif", ENDHEADER,
        "Name=x-integrationserver-session-hash:", "Value={c_SessionID}", ENDHEADER,
        "Name=Content", "Value=Binary", ENDHEADER,
        "Name=Content-Type", "Value=application/octet-stream", 
        ENDHEADER,

 

 

ISSUE:: The page is getting created as expected, but the content is blank. When i try to retieve the document created, it is not showing any response.

 

Please help.