Notifications
Announcements
how to pass file in invoke web service and upload in an application!
@MitheshRpa
Refer this
https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Power-Automate-Desktop-Invoke-web-service-send-file/td-p/1872399
I can see file has been zip and then uploaded , But i need to upload direclty As i dont want to upload file in ZIP.
Hi @MitheshRpa
Could you check the API documentation and see how API are utilized to send documents/file ?
In postman i am able to upload , i have attached my path to pick the file . But how can i attach a file in webservice
Could you try Run command action.
Refer here
https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Invoke-Web-Service-HTTP-POST-request-body-structure/td-p/1728800
my play load
how to pass my file here
As per the documentation, you need to pass the file data in binary form and pass it in request body
for binary conversion of file, use the below action in PAD
Hope the information helps 🙂
as u said, i took convert to binary and passed that variable in my request body!I am getting 415 error
Unsupported media type
Could u remove the brackets as highlighted here
Also do you have any sample in documentation how they ran the api ?
I had done in Postman, by selecting file as form-data , but in PAD its not comming
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 519 Super User 2025 Season 2
Tomac 296 Moderator
abm abm 232 Most Valuable Professional