web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unexpected response wh...
Power Automate
Answered

Unexpected response when using HTTP method

(0) ShareShare
ReportReport
Posted on by 13

Hi,

 

I’m getting an unexpected response when executing a GET request via HTTP.

 

I want to approach the API of a media buying platform. In order to use the API, you first need to get an authentication token by sending a PUT request with a username-password combination. This works perfectly fine and I’m able to retrieve a token. I then store this token in a variable for further use down the line. This token is to be used as a value in the header of a request (key = ‘Authorization’).

 

If I then send a GET request via Power Automate using the method I described:

Rocco_0-1664359440266.png

I get an unexpected response body:

Rocco_1-1664359489393.png

The status code that it’s returning is 200, so that seems to be fine.

 

Now, if I send the same GET request via Postman, I get the response I’m expecting:

Rocco_2-1664359520073.png

 

I can’t spot any differences between my request in Postman and my request in my flow script.

 

I’m lost as to why I’m not getting the same response in my Flow as in Postman. Is there something I’m missing?

 

Thanks in advance,

 

Rocco

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    12,044 Super User 2026 Season 1 on at

    Hi @Rocco ,

     

    I think the content from the HTTP request is Base64 encoded. 

     

    You can try paste the $content to the following site to confirm:  Base64 Decode and Encode - Online

    Power Automate has a decodeBase64() function.

     

    Can you paste the content of the HTTP output here if needed?

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Rocco Profile Picture
    13 on at

    Hey @ekarim2020 ,

     

    This is awesome. Thanks so much!

     

    - Edit:
    Perhaps interesting for others, I use the following expression to decode the string into a JSON array:

    decodeBase64(outputs('HTTP_2')['body']['$content'])

     

    Rocco

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard