REST API Call with formData Parameter

Parameter            Value                                   Parameter Type           Data Type

access-token               header                           string

userid                          header                           string

apikey                         query                             string

filename                    formData                         string

filedata       formData                         file

 

Hello everyone,

We are trying to call a REST API (type POST) via Appian and it requires two parameters to be passed as formData type.
Any ideas or suggestions on how to use this API. As of now, the smart service HTTP Query allows us to pass the header and query parameters, but none of type formData.
Would appreciate your input.

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi Rawich, Thanks for your response. I am looking for a way to actually upload a file using the REST API. The filedata field(of type: formData) is the one that actually takes a document as an input. Any ideas how to integrate this POST API in Appian. You can ignore filename field as it is been taken care of and its parameter type is updated to query. Also, I'd appreciate any kind of inputs that you can provide or elaborate the one you gave earlier. Thanks!
Children