cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FredrikUmea
Level: Power Up

HTTP get file with a specific encoding

Hi all,
I need your help. In my Flow I have an HTTP GET request that returns the file content in the body section from a API. My next step is to post this data via another HTTP request with the file attached. 

 

Unfortunately, I can't find a solution for the encoding in the body that comes with the request. As I'm from Sweden we have Å Ä Ö and our general encoding is OEM 865. The result is that my next task will fail as it doesnt allow the unknown characters.

 

Below are the request and the results with the character marked in red. I've tried to add content-type as a header Text/plain but it doesn't seem to do any difference. I hope that someone can help me. 

 

- Do you have any ideas what I'm missing?  Is there a posibility to encode the values in from the request? 

 

Many thanks in advance

 

//Fredrik from Sweden

 

GetFileviaHTTP.JPG

2 REPLIES 2
Highlighted

Re: HTTP get file with a specific encoding

Hi @FredrikUmea,

 

As far as I am aware converting the charset like that doesn't work.

 

But maybe a workaround can be the creation of a customer connector?

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank

 

In this thread I see somebody was struggling with a similar issue and changed the charset of the custom connector to utf-8: https://powerusers.microsoft.com/t5/General-Flow-Discussion/Questions-for-custom-authorization-and-H...

 

 

 

primakid
Level: Power Up

Re: HTTP get file with a specific encoding

Hi Fedrik,

 

Are you already solved this issue? i got the same issue.

 

Please help to shared if you already solved this issue.

 

Thanks,

Prima

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (10,272)