cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Send file with HTTP Rest

Hi!

I am receiving an email with or without an attachment to create an issue in Jira, then send a request to Jira to upload the attachment. In Postman it works but in Flow I can not upload the file.

 

Captura de pantalla 2019-03-29 a la(s) 18.29.05.pngSend postman with fileCaptura de pantalla 2019-03-29 a la(s) 18.08.22.pngMy FlowCaptura de pantalla 2019-03-29 a la(s) 18.08.40.pngConditionCaptura de pantalla 2019-03-29 a la(s) 18.08.57.pngTesting requestCaptura de pantalla 2019-03-29 a la(s) 18.10.27.pngTesting respondeCaptura de pantalla 2019-03-29 a la(s) 18.10.37.pngTesting responde

23 REPLIES 23

Thanks @SamPo that's a great tip!

zarski
Advocate II
Advocate II

Hi,

I'm really a rookie with HTTP REST. I'm a bit confused and need help. I'm creating a new Custom Connector that uses an action that sends a multipart form-data file. I've tried many of the examples in this thread but I haven't been able to make it work.

The API documentation (swagger) states that only two parameters are required: "id (path)" and "file (formData)". I don't understand that where should I add that file parameter, maybe in the body's JSON? And should I add that JSON in the connector's action already or leave the body empty and compose it later in the flow?

EDIT: I was able to make it work by leaving the connector action's body empty and composing JSON in the flow. This thread was very helpful, thank you all.

poat
Regular Visitor

thanks so much!!  As well as using this YouTube - https://www.youtube.com/watch?v=az23pHVLdSo&ab_channel=ChadKealey

 

I was finally able to bridge the gap and post attachments to Jira from a form submission.  Thank you all for the chit chat here it was helpful

Hey Anonymous

 

Can you please help me. I try to make a http call in power automate. I have the following postman collection. How should the body look like in the http call? 🙂  

 

Screenshot (2).pngScreenshot (3).pngScreenshot (4).png

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (3,654)