web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
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.

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard