【文件属性】:
文件名称:appengine-webhook:在 Google AppEngine 上处理 webhook 的简单示例
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-14 03:00:17
Python
简单的 Olark AppEngine Webhook
如何使用 Google App Engine 处理 Olark webhook 的快速示例。 请参阅: ://www.olark.com/help/webhooks 以更好地了解 Olark webhooks。
入门
在 google appengine 中创建一个新的云应用程序(记下 PROJECT_ID)
在您的本地机器上配置 Google AppEngine。
本地测试
运行应用引擎开发服务器:
dev_appserver.py olarkwebhook/
使用 curl 生成假请求。
curl -X POST -d '{"kind": "Conversation", "tags": ["olark", "customer"], "items": [{"body": "Hi there. Need any help
【文件预览】:
appengine-webhook-master
----olarkwebhook()
--------olarkwebhook.py(2KB)
--------app.yaml(154B)
--------readme.md(1KB)
----README.md(2KB)
----.gitignore(64B)