Need help on upload file scenario

Hi, I am trying to upload a file (API Call) and using the multiform data example. Here, I have few parameters to be passed in variables.
So based on the example I created res = http.post(url,fd.body(),params)
params is holding some key information
fd is having the file information.

Now, i have two more parameters which should be passed as parameter
“mydata” = “sasfdasdf”
“mydata2” = “asffasdf”

Can you please help

Hi @Mylmk , welcome to the community forum.

This example uploads a file along with an another field:

Let me know if it helps.

Thanks for the response. Unfortunately, the link which you shared is broken . Can you look in to that.

1 Like

Thanks. I fixed the broken link

Thanks. I did followed the same approach but in Vain.