参考:https://www.cnblogs.com/poerli/p/6429673.html
已实现通过reset api 推送消息:
已实现通过reset api 推送消息:
- def test_success():
- test_data = {'appkey':'xxxxxxxxxxxxxx','channel':'xxxxxxxxxxx','content':'xxxxxx'}
- test_data_urlencode = urllib.urlencode(test_data)
-
- requrl = "https://goeasy.io/goeasy/publish"
-
- req = urllib2.Request(url = requrl,data =test_data_urlencode)
- res_data = urllib2.urlopen(req)
- res = res_data.read()
- print res_data
-
-
- test_success()
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29096438/viewspace-2150791/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29096438/viewspace-2150791/