1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
First, I would suggest to enable Execution Logs on the API and see the messages. Maybe it will give you a clue.
I tried it an it seems API Gateway strips the trailing / and therefore the backend always receives the URL without the trailing / and redirects again. You will be able to see that in the logs and probably also in your backend logs.
Are you using caching in API Gateway? If you are, it may be that API Gateway ignore the trailing / when it looks for a hit, so all requests to /abc and /abc/ are considered the same and GW returns the cached redirect response. (this is just a guess).
関連するコンテンツ
- 質問済み 6年前
- AWS公式更新しました 2年前
- AWS公式更新しました 1年前