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 / Parsing HTTP Response ...
Power Automate
Unanswered

Parsing HTTP Response Body

(1) ShareShare
ReportReport
Posted on by 21

How do you parse the response body from an HTTP POST to extract a string from json?

 

I send a HTTP POST to an api from Random.ORG to generate a random string.  

 

I get the response successfully.  This is the response body:

 

 

{ 
"jsonrpc":"2.0",
"result":{
"random":{
"data":[
"48588608"
],
"completionTime":"2016-12-16 03:28:36Z"
},
"bitsUsed":27,
"bitsLeft":249460,
"requestsLeft":980,
"advisoryDelay":230
},
"id":32400
}

 

I want to extract the value 48588608 from result/random/data.

 

I am using Mcrosoft Flow and want to use this string in the next step of the Flow, to send in an email, for example.

 

Any guidance?

Categories:
I have the same question (0)
  • Kemedia Profile Picture
    21 on at

    How do you parse json to get the string from a HTTP POST.

     

    I am working with the following response body:

     

    Status Code: 200
    Body: {"jsonrpc":"2.0","result":{"random":{"data":["48588608"],"completionTime":"2016-12-16 03:28:36Z"},"bitsUsed":27,"bitsLeft":249460,"requestsLeft":980,"advisoryDelay":230},"id":32400}

     

    I want to extract the value 48588608 from result/random/data.

     

    I am using Mcrosoft Flow and want to uise this string in an email, for example.

     

    Would a Compose action wrk?  What would be the synatx to extract the data?

     

     

     

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Kemedia,

     

    I am not very familar with HTTP functions, have you tried the Compose in Microsoft Flow? What is the output result of the HTTP post body?

    Maybe the following article would be helpful:

    Calling Microsoft Flow from your application

    Extend your web site or app with Microsoft Flow

    Please post back if you need any further assistance.

    A notice: I found your another thread at the PowerApps forum, and merged it here.

    Regards

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard