Forum Discussion
Anonymous
6 years agoNot applicable
PowerBI - REST API - Export and then Import in Flow / Power Automate
Hi all, I've been banging my head against a brick wall for a while here. I've followed a number of the guides for connecting to PowerBI REST APIs using a custom connector in Flow, and general...
- 6 years ago
Hi Anonymous ,
i found the solution.
To import a file, request Headers should include Content-Type: multipart/form-data with the file encoded as form data in the request body.
{ "$content-type": "multipart/form-data", "$multipart": [ { "body": @{body('Export_PBIX')} } ] }
Anonymous
6 years agoNot applicable
Any ideas at all? Spent some more time looking at this and still getting nowhere!
Thanks,