Sancho писал(а): ↑15.12.2018{, 18:25}
api.openweathermap.org has address 95.85.63.65
По этому адресу не работает.
А вот по первым двум адресам начал получать хотя бы ответ:
HTTP/1.1 400 Bad Request
Server: openresty
Date: Sat, 15 Dec 2018 17:19:40 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>
Запрос в теле страницы такой:
GET /data/2.5/weather?id=1488754&appid=ffea76ba1b4d48e8fa9f7e43d92b2941 HTTP/1.1
Что делаю не так?