cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SSM-SPARX
Advocate I
Advocate I

HTTP GET That retruns HTML content after script

I am trying to use HTTP GET Action that would return the tracking data from Fedex Tracking Website. 

 

It seems that the page loads after a script runs when the URL is entered. So the result of HTTP GET would be an HTML document with JavaScript and not the actual page with the tracking data. Normally I would input the following URL in a browser and I used HTTP GET URI https://www.fedex.com/apps/fedextrack/ and tracknumbers as a Query.

 

Is there a way to wait for the HTML document to load before returning the result of HTTP GET or this can only be done in a browser? 

 

https://www.fedex.com/apps/fedextrack/?tracknumbers=xxxxxxxxxxxx

 

 
3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @SSM-SPARX ,

 

I am afraid that I could not understand your needs.

Maybe you could add Delay action to wait for the HTML document to load before returning the result of HTTP GET.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It seems my screenshot didn't go through.

 

I have only one step adding a delay before it will not help me. 

The below returns the HTML of the page before the script runs, I am asking for the possibility of adding a delay within this step. 

 

Flow Image.jpg

 

Hi @SSM-SPARX ,

 

Thank you for your reply. I understand what you mean now, but I am afraid that such a requirement cannot be achieved through Power Automate.

In Power Automate, we can delay the execution of the next step by adding a Delay action between the two steps.

And your need seems to be to add a delay in the middle of the HTTP request. Unfortunately, Power Automate does not currently support such a feature and I am not able to provide a suitable method to solve this problem.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,509)