Hi, I've recent started using Node Red (V1.3.2) for building flows to access my weather station and I would like to compare its local weather data with that from Australian Bureau of Meteorology (BOM) web site that provides JSON data for my location.
When I enter the URL in Chrome it brings back a web page containing the current up-to-date JSON data for Melb - see http://www.bom.gov.au/fwo/IDV60901/IDV60901.95936.json
But when I plug that URL in node-red : http request as follows:
[{"id":"8d4b4d6.65e66b","type":"http request","z":"9f35912a.5daa8","name":"Get BOM Weather","method":"GET","ret":"obj","paytoqs":"ignore","url":"http://www.bom.gov.au/fwo/IDV60901/IDV60901.95936.json","tls":"b2c5d1ee.b7aec","persist":false,"proxy":"","authType":"","x":570,"y":900,"wires":[["636a21d.ab98ee"]]},{"id":"b2c5d1ee.b7aec","type":"tls-config","name":"local-tls","cert":"","key":"","ca":"","certname":"","keyname":"","caname":"","verifyservercert":false}]
I get the following error from BOM (via the debug node):
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
You don't have permission to access "http://www.bom.gov.au/fwo/IDV60901/IDV60901.95936.json" on this server.<P>
Reference #18.67a37468.1618397169.11c69da
</BODY>
</HTML>
I might be incorretly assuming that the URL working on chrome could be used in the Node-Red http request URL espcially since it's http and not https. I haven't set up any headers or auth details.
What can I do to get the JSON data via the Node-Red http request?
Thanks and regards
Joe.