Reg how to upload form data file in request body

I am working on a API where it takes the file as the parameter , i am able to upload the file as form data in the postman and get the expected response, but in my SSIS tool we have a exclusive API tool to call API task which has a field Payload , how to pass a local file in the payload

Hi @harivenkat75026.

Welcome to the Postman Community!

Are you able to pass this file to the API as a base64 in the body of the request?

image
the above image represents the API,

in body should i need to give the request
{β€œFile”:β€œbase64 string of the file pasted here”}

will this work
this is the task that we use to access api

Hi @harivenkat75026.

Is your question Postman related? I am not familiar with the shared platform(s), so I can’t say for if that will work or not. I’ll be more than happy to help with Postman related issues.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.