|
有谁做过8266 采用http协议连接服务器,接受发来的消息,怎么去处理这些收到的消息 ,刚开始弄这个,好多搞不明白,求大神带带,非常感谢
HTTP/1.1 200 OK
Date: Tue, 03 Apr 2018 09:08:34 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 882
Connection: keep-alive
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
{"results":[{"location":{"id":"WS0E9D8WN298","name":"Guangzhou","country":"CN","path":"Guangzhou,Guangzhou,Guangdong,China","timezone":"Asia/Shanghai","timezone_offset":"+08:00"},"daily":[{"date":"2018-04-03","text_day":"Cloudy","code_day":"4","text_night":"Cloudy","code_night":"4","high":"30","low":"21","precip":"","wind_direction":"CLM","wind_direction_degree":"","wind_speed":"10","wind_scale":"2"},{"date":"2018-04-04","text_day":"Cloudy","code_day":"4","text_night":"Cloudy","code_night":"4","high":"30","low":"21","precip":"","wind_direction":"CLM","wind_direction_degree":"","wind_speed":"10","wind_scale":"2"},{"date":"2018-04-05","text_day":"Cloudy","code_day":"4","text_night":"Shower","code_night":"10","high":"29","low":"20","precip":"","wind_direction":"CLM","wind_direction_degree":"","wind_speed":"10","wind_scale":"2"}],"last_update":"2018-04-03T11:00:00+08:00"}]} |
|