Feb 24 2021 02:17 AM
Working as a developer on iSeries (AS/400), I use the Rest Api's to upload/download documents to/from Sharepoint.
The tool to Get/Post messages is Axis (C++ code).
C works with "null terminated" strings and this causes problems when downloading byte streams that contain hex(00) bytes.
Is there a way to tell the Rest Api to return the byte stream as a base64 encoded stream (or as an ANSI byte stream) ?
I tried some combinations of "Accept-Charset" / "Accept-Encoding", but without succes :(
Does anybody know a solution for this problem ?
Kind regards
Feb 25 2021 05:17 PM