Highlighted
Contributor.
Contributor.
274 views

** 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=https://Host:Port/integrationserver/v1/document/{c_DocumentID}/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.

0 Likes
1 Reply
Respected Contributor.
Respected Contributor.

Hello,

Greetings,

To be able to upload files in Vugen try the steps from the documentation below.

https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/KM175842

Thanks and regards,

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.