【问题标题】:How to fix "Invalid mapping expression parameter specified" in Amazon API Gateway如何修复 Amazon API Gateway 中的“指定的映射表达式参数无效”
【发布时间】:2020-12-27 16:48:22
【问题描述】:

如您所见,我尝试设置一个名为“名称”的简单查询参数。

TBH,我不完全理解“映射自”是什么意思,I just followed the official example document here (step 7) 并将其设置为 method.request.querystring.name。但是,它仍然抱怨它无效。

【问题讨论】:

    标签: amazon-web-services rest aws-api-gateway restful-url query-parameters


    【解决方案1】:

    我刚刚尝试过,在您将其添加到“集成请求”下之前,您必须将其添加到“方法请求”下(方法的可视化流程中“集成请求”之前的那个)。我相信这实际上是您链接的页面中的第 6 步。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-07
      • 2019-05-05
      • 1970-01-01
      • 1970-01-01
      • 2021-04-13
      • 2016-11-02
      • 2020-03-24
      • 1970-01-01
      相关资源
      最近更新 更多