收藏官网首页
查看: 1318|回复: 1

esp8266 +http接口处理

2

主题

3

帖子

102

积分

注册会员

Rank: 2

积分
102
发表于 2018-4-3 17:15:30 | 显示全部楼层 |阅读模式
汉枫LPB120模块
有谁做过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"}]}
发表于 2018-4-19 11:12:38 | 显示全部楼层
ESP8266 http get机智云端数据   http://club.gizwits.com/thread-8384-1-1.html

1、机智云QQ群: 287087942
机智云爱好者-APP开发群: 599735135
QQ群目前非常活跃,欢迎大家参与进来,交流,讨论,答疑,解惑~~
2、机智云微信公众号: 机智云 gizwits /   机智云智能宠物屋go-kit
关注机智云Gizwits官方公众号随时掌握最新资讯和活动信息
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

© 2011-2017 Gizwits ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表