转:
1 http://www.yeelink.net
2 {"errcode":"0","errmsg":"","apikey":"xxxxxxx"}
3 [root@db3 bbs]# curl --request POST --data-binary @list_title.png --header "U-ApiKey:xxxxxx" http://api.yeelink.net/v1.0/device/17178/sensor/29743/photos
4 [root@db3 bbs]#
5 curl --request GET --header "U-ApiKey: YOUR_API_KEY_HERE" http://api.yeelink.net/v1.0/device/12/sensor/3/photo/content/2012-03-15T16:13:14
6 curl --request POST --data-binary @list_title.png --header "U-ApiKey:xxxxxx" http://api.yeelink.net/v1.0/device/17178/sensor/29743/photos
7 curl --request POST --data-binary @iii_pic.jpg --header "U-ApiKey:xxxxxx" http://api.yeelink.net/v1.0/device/17178/sensor/29743/photos
8 curl --request GET --header "U-ApiKey: xxxxxx" http://api.yeelink.net/v1.0/device/17178/sensor/29743/photo/content/