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&lat=51.76...">here</a></body>"
Flow is
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.
Try specifying the content-type in the Headers:
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:
{
"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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
User | Count |
---|---|
44 | |
18 | |
15 | |
14 | |
11 |
User | Count |
---|---|
81 | |
34 | |
29 | |
21 | |
20 |