最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - How to get query parameter info in API gateway Log - Stack Overflow

programmeradmin6浏览0评论

The log format in AWS Api Gateway is set to

{
    "requestTime": "$context.requestTime",
    "requestId": "$context.requestId",
    "httpMethod": "$context.httpMethod",
    "resourcePath": "$context.resourcePath",
    "status": $context.status,
    "path": "$context.path",
}

How can I get the information about query parameters sent.

Example : /api/v1/pets?name="name1"

path provides me the information about /api/v1/pets How can I get the query parameters logged in API gateway too.

发布评论

评论列表(0)

  1. 暂无评论