HTTPoison.start
case HTTPoison.get("http://www.usda.gov/data.json") do
  {:ok, %HTTPoison.Response{body: body, status_code: 200}} -> File.write!("profile/usda.json", body)
end
case HTTPoison.get("https://edg.epa.gov/data.json") do
  {:ok, %HTTPoison.Response{body: body, status_code: 200}} -> File.write!("profile/edg.json", body)
end

HTTPoison.start
case HTTPoison.get("https://www.usda.gov/data.json") do
  {:ok, %HTTPoison.Response{body: body, status_code: 200}} -> File.write!("profile/usda.json", body)
end
case HTTPoison.get("https://edg.epa.gov/data.json") do
  {:ok, %HTTPoison.Response{body: body, status_code: 200}} -> File.write!("profile/edg.json", body)
end

Update USDA url to https since http endpoint returns 301 now.
Update USDA url to https since http endpoint returns 301 now.

olafura/json_diff_ex,olafura/json_diff_ex