Hi Team,
We have a requirement where the client tool can only upload files which are in octet format. We have exposed a web api using "upload document" template of web-api which helps client team to upload files from their systems to our Appian environment.
Can someone help me with the code required for uploading a file in octet format from external system to our appian environment using a web api.
We use appian version 22.2
Thank you
Discussion posts and replies are publicly visible
I do not know about octet formatted files. Can you help me on this? What is special about these?
Hi Stefan,This is what our client had sent us : --Boundary_1_1117453910_1675267454435Content-Transfer-Encoding: binaryContent-Type: application/octet-streamContent-Disposition: form-data; filename="Testing1.txt"; name="attach-Attachment"This is something their system converts the files into while uploading to Appian.
For sending document over HTTP, Appian supports "Document" and "Multipart Form Data" content types and it uses binary-stream to send the documents. Not sure Appian supports the octet-stream.