Http post with attachment error

Hi All,
I want to send http post request with attachment to an endpoint .I got this format from tool’s api page.When i try to do that in uipath using attachment property in http activity,it says unable to find the file “Incident”.How can i pass this format in uipath

-F “file[attachable_type]=Incident”
-F “file[attachable_id]=12345678”
-F “file[attachment]=@/tmp/example.png”

@ranjani

I’d suggest using a tool like Postman first to verify that you are sending the http request correctly. It’s a lot easier to fiddle with the request in a tool like that than it is in UiPath. Once you know it’s working there then you can move back to UiPath and copy the parameters that you got working in Postman.