How to Use Web Request Activity Results
Hello,
I am trying to use a weather API to get current conditions and store them in a SQL database when a new record is created (related to a point on the map). I am using a HERE API to get to the current weather conditions, but I don't know how to use the System.Byte[] results.
Here is a link that shows you what the results look like:
https://developer.here.com/documentation/examples/rest/auto_weather/weather-observation-lat-long
How would I get values from the results? To start with, I'm just trying to display the description in an alert.
(I already posted about this for Workflow 5, but we are having Portal issues right now, so I'm trying to use Workflow Designer to meet a deadline.)
Any help would be much appreciated!
Thanks,
Denise
0
-
Also, am I not allowed to put a URL such as "https://weather.ls.hereapi.com/weather/1.0/report.json?product=observation&latitude=52.516&longitude=13.389&oneobservation=true&apiKey=H6XyiCT0w1t9GgTjqhRXxDMrVj9h78ya3NuxlwM7XUs" for the Uri? When I tried running my test workflow, I got a 405 error: "Method Not Allowed" for the WebRequest activity. In the actual URL, I used my own API Key, and copied and pasted the URL into a browser to make sure it works. Am I using the wrong activity? 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar