lambda aws python获取url id

2024-10-03 13:29:31 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前正在学习aws、lambda和python。 一直很顺利,直到我试图从浏览器中获取一个id。在

https://[apinumber].execute-api.ap-northeast-1.amazonaws.com/prod?id=1

我已经在aws中设置了正确的设置(我想) 我已将此设置置于“资源”—“方法请求”—“URL查询字符串参数”下

enter image description here

有什么办法能得到这个身份证?在

我试过很多方法,但还没找到解决办法。 最近几天我一直在这上面。在

^{pr2}$

我们将非常感谢您的帮助。在


Tags: 方法lambdahttpscomawsapiidexecute