Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

HTTP

(0) ShareShare
ReportReport
Posted on by 42

Hi,

 

I am trying to create a flow using HTTP and triggered from a canvass app.

 

Using GET and a constructed URL pulling through variables from the canvass, which appears to be put together correctly, but when it runs it fails with a 301 status error. If I look at the flow run and copy the URL from it and paste it into a browser I get the response back I am expecting, so happy that seems right?

 

The error is:

"<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://webapps.bgs.ac.uk/data/webservices/CoordConvert_LL_BNG.cfc?method=LatLongToBNG&amp;lat=51.765157&amp;lon=-2.994223">here</a></body>"

 

Flow is

Acropolis9064_0-1631634901996.pngAcropolis9064_1-1631634917293.png

 

Details are from here: Coordinate converter | British Geological Survey (BGS)

 

Sure it's probably something simple I've done wrong but I can't figure it out.

  • Ellis Karim Profile Picture
    11,143 Super User 2025 Season 1 on at
    Re: HTTP

    Try specifying the content-type in the Headers:

    ekarim2020_0-1631661579013.png

     

     

    URI:
    https://webapps.bgs.ac.uk/data/webservices/CoordConvert_LL_BNG.cfc?method=BNGtoLatLng&easting=429157&northing=623009
    
    content-type: 
    application/json;charset=UTF-8

     

     

    Here is the output from a working example:

    ekarim2020_2-1631661695594.png

    {
     "DEGMINSECLNG": {
     "DEGREES": -1,
     "SECONDS": 24.028476096768,
     "MINUTES": 32
     },
     "EASTING": 429157,
     "LONGITUDE": -1.54000791002688,
     "NORTHING": 623009,
     "DEGMINSECLAT": {
     "DEGREES": 55,
     "SECONDS": 59.99859710664,
     "MINUTES": 29
     },
     "LATITUDE": 55.4999996103074
    }

    Ellis


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

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1