2 Answers
- Newest
- Most votes
- Most comments
3
You need to setup the post method to the initial "/", doing so, when you call https://1234.customers.mysite.com/ or https://1234.customers.mysite.com it will work
Here an image of how you need to set it up https://i.postimg.cc/TYcCSWRd/api3.png
0
I have a similar problem when using /{proxy+}. API Gateway is trailing slash when requesting POST "{domain}/blabla/" and passing through POST "{domain}/blabla" but on my EC2 API POST "{domain}/blabla/" exists but POST "{domain}/blabla" doesn't so respond 404 Not Found.
How can I fix that?
answered 2 years ago
Relevant content
asked 2 years ago

Miki, you're brilliant! Your suggestion worked like a charm. As you probably expected I had /{proxy+} for ANY method but an explicit POST for /. Thanks for taking the time and helping me. I truly appreciate it.