Skip to Content
avatar image
Former Member

SAP B1IF rest service, upload file


I want to use HTTP call to upload file to service. I got this file by call to service i provide by B1IF. How to shape http message to upload this file?

Every way I tried server don't get file.

One of way i tried:



<payload operation="">
<bfa:io xmlns:bfa="" pltype="mup" encoding="ISO-8859-1">
<bfa:fileupload fieldname="file" filename="testFile.bmp" clientfile="testFile.bmp" contenttype="application/octet-stream" pltype="bmp">
<bfa:io pltype="bmp">
<par id="httpheader.Content-Type" value="multipart/form-data"></par>

<par id="httpheader.Accept" value="application/json"></par>

Best regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers