如何捕获 Alexa 控制台发送到端点的内容?

How to capture what Alexa console sends to the endpoint?

我目前正在学习聊天机器人并开发了两种不同的技能。一个在 Azure 上有一个端点,另一个在 AWS 上有一个端点。一切正常。我想知道是否有办法查看 Alexa 控制台向您的端点发送的内容(包括 header)? Alexa 控制台仅显示 body。我想捕获 header 和 body 以便我可以使用 Postman 测试我的端点。

POST / HTTP/1.1

Content-Type : application/json;charset=UTF-8

Host : your.application.endpoint

Content-Length :

Accept : application/json

Accept-Charset : utf-8

Signature:

SignatureCertChainUrl: https://s3.amazonaws.com/echo.api/echo-api-cert.pem

这是 Alexa 发送的 HTTP HEADER Body

更多信息:Request and Response JSON Reference