Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to view HTTP request code being sent by HTTP Action

(0) ShareShare
ReportReport
Posted on by

I am trying to interface with the USGS elevation point query service API using Automate.

 

I am having difficulty troubleshooting the errors without seeing the HTTP request code being generated. Is there a way to view this information?

 

I have the API request working in Postman and Python; so, I believe my problem is how I am using Automate.

 

Link to the USGS API documentation: https://ned.usgs.gov/epqs/

 

Snip of the HTTP block inputs:

 

 

Capture.PNG

 

Compared to the HTTP code generated through Postman:

[[GET /epqs/pqs.php?x=-120.437001&y=36.701&units=Feet&output=json HTTP/1.1
Host: nationalmap.gov]]

  • Community Power Platform Member Profile Picture
    on at
    Re: How to view HTTP request code being sent by HTTP Action

    @JohnAageAnderse that was it! I appreciate the help.

     

    I suppose it was adding additional metadata headers which caused a problem for the USGS API.

     

    Anyway, thanks again!

  • Verified answer
    JohnAageAnderse Profile Picture
    1,986 on at
    Re: How to view HTTP request code being sent by HTTP Action

    Hello @Anonymous 

     

    I tried it also using an HTTP action and got the error. From the browser it works. Looked into the settings for the action and turned on the option for Suppress workflow headers.

    After doing that, the HTTP action worked and I got the result 🙂

    Kind regards, John

  • Community Power Platform Member Profile Picture
    on at
    Re: How to view HTTP request code being sent by HTTP Action

    @ManishJain 

     

    Thank you for giving this a try. You described the same error I receive when running the request from flow.

     

    From everything I've read on the USGS website, there are no licensing requirements/API key or anything like that.

     

    Do you know anything about viewing the outgoing request from flow? I suspect the request is being compiled incorrectly.

  • MJain Profile Picture
    2,450 on at
    Re: How to view HTTP request code being sent by HTTP Action

    Hi @Anonymous ,

     

    I am not sure why it is not working while it works from Postman. I am getting error while I try to hit the same url from flow. Getting Source url cannot be found. Is there any restriction or licensing requirement for us to hit the url

     

    Thanks

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow