cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amcneil32
Resolver II
Resolver II

parse HTTP get response

Hello, I am attempting to execute a URL with the get method in the HTTP action. The output returned looks to be the page's HTML. Within that HTML is a query string pointing to an Image. I need to extract just that portion of the HTML. I'll end up replacing the original query string with this one in my flow. I'll need to upload an image to OneDrive. I'm a little confused as to how I can extract what I need from the HTTP response. 

 

amcneil32_0-1625680836375.png

 

amcneil32_0-1625681049544.png

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PrasadAthalye
Community Champion
Community Champion

You can not use Parse Json. Your output is HTML and not JSON.

 

You will have to use HTML to text to convert the output to text and then use Substring to find your data. Some examples are available within below thread...

 

https://powerusers.microsoft.com/t5/Using-Flows/Is-there-a-way-to-parse-HTML-table-output/td-p/28600...

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

1 REPLY 1
PrasadAthalye
Community Champion
Community Champion

You can not use Parse Json. Your output is HTML and not JSON.

 

You will have to use HTML to text to convert the output to text and then use Substring to find your data. Some examples are available within below thread...

 

https://powerusers.microsoft.com/t5/Using-Flows/Is-there-a-way-to-parse-HTML-table-output/td-p/28600...

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,932)