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).
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 1 年前