I am trying to call an integration that needs to pass a file from appian through its body.
However, it's not being acceptable, cause
As you can see, the connection endpoint is expecting the file parameter to be of type File.
An information: with the url that I am retrieving in appian, I am being able to download the file just by clicking on the link.
However apparently the File type on this connection expects another type of string: MultipartFile,
Is it by any chance possible that conversion? Thanks
Discussion posts and replies are publicly visible
So you want to send the file from Appian to that other system, correct?
You cannot just pass some URL somewhere. You first need to download the file into Appian before sending it.
Sorry, do you have any docs on what you said? Because it is still not very clear for me what to do about downloading the file into Appian
You define a JSON structure that contains the URL to the file as the content. So, you are sending that URL to the other system.
https://docs.appian.com/suite/help/24.2/Integration_Object.html#sending-a-binary-document
Thanks, however I am getting a timeout.
if I comment request body, it works as expected.
curl --location 'my-url/2 \ --header 'accept: */*' \ --header 'Authorization: mytoken' \ --form 'file=@"postman-cloud:///1ef19fb2-8480-4930-878f-79bbbb7c45e5"'
my issue on appian is still the parameter file
Looking at the documentation and your config, I see some variations