cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to send mutipart form data value as a text and not as a file in Snaplogic

harishankarkaim
New Contributor

Hi All,

I am trying to invoke an external API which accepts data as form data key and value. However, which I try from the postman, the API works well when the data is send as a form data with key and value as text and fails when the value is a file. In SL, I wanted to know if we can send the form data as a text and not as a file.

Regards

Hari

2 REPLIES 2

shankarrao2
Employee
Employee

Please share the details either you are using rest Post/Get?
if Rest Post if please pass http header as below and can pass key value pairs in http entity.

image

aleung
Contributor III

@harishankarkaimal were you able to make it work? If so, please share your findings