Missing Authentication Token while accessing API Gateway?

前端 未结 18 1491
既然无缘
既然无缘 2020-12-08 12:51

I am trying to call a Lambda Function through AWS API Gateway. When I mention Authentication type NONE it works fine but API become public and anyone with url can access my

18条回答
  •  悲&欢浪女
    2020-12-08 13:26

    To contribute:

    I had a similar error because my return response did not contain the 'body' like this:

    return { 'statusCode': 200, 'body': "must contain the body tag if you replace it won't work" }

提交回复
热议问题