这个产品是用来查看哪些鸡蛋在plone网站。
collective.stomach的Python项目详细描述
Introduction
您可以打开浏览器并调用
@@stomach_view?token=my_secret_token
或者将调用视图url的python脚本设为
url = "http://localhost:8080/Plone/stomach_view?token=my_secret_token request = urllib2.Request(url) request.add_header("Content-Type", "application/json") response = urllib2.urlopen(request) print response.read()
将返回一个包含所有鸡蛋列表的json。
Benoit Suttor,作者