Quantcast
Channel: Current Observation feed from weather.gov forbidden (403) - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by pwan for Current Observation feed from weather.gov forbidden (403)

$
0
0

On the off chance your finding this from Étude 12-1 from Études for Elixir, here's what ended up working for me

  s_url = "http://w1.weather.gov/xml/current_obs/"<> weather_station <> ".xml" :httpc.request(:get, { to_char_list(s_url),                        [ {'User-Agent','ErlangEtudes/v1.0 (http://example.org;me@example.org)' } ]                       },[],[] )

Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>