我正在尝试将Amazon API网关与Lambda函数集成.我成功地能够实现但是当我尝试使用curl时它失败了.
设置Lambda方法,API网关集成以及集成请求下的模板映射.
当我从控制台运行"测试"时,它工作正常
Execution log for request test-request
Wed Nov 04 07:27:30 UTC 2015 : Starting execution for request: test-invoke-request
Wed Nov 04 07:27:30 UTC 2015 : API Key: test-invoke-api-key
Wed Nov 04 07:27:30 UTC 2015 : Method request path: {service=xml}
Wed Nov 04 07:27:30 UTC 2015 : Method request query string: {}
Wed Nov 04 07:27:30 UTC 2015 : Method request headers: {}
Wed Nov 04 07:27:30 UTC 2015 : Method request body before transformations: Articletext
Wed Nov …Run Code Online (Sandbox Code Playgroud)