How do I find the API endpoint of a lambda function?

后端 未结 6 1578
有刺的猬
有刺的猬 2021-02-06 22:37

I have a Lambda function that has an exposed API Gateway endpoint, and I can get the URL for that via the AWS console. However, I would like to get that URL via API call. Neithe

6条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 22:43

    I don't really understand the above answer (maybe it's outdated?).

    The absolute easiest way:

    1. Choose "API Gateway" under "Services" in AWS.
    2. Click on your API.
    3. Click on "Stages".
    4. Choose the stage you want to use
    5. Now you can see the entire URL very visible inside a blue box on the top with the heading "Invoke URL"

提交回复
热议问题