AWS API gateway HTTP proxy integration returns the following error when I tried to proxy to another URL.
Thu Jul 04 13:34:51 UTC 2019 : Sending request to https://api.example.com/{proxy}
Thu Jul 04 13:34:51 UTC 2019 : Execution failed due to configuration error: Illegal character in path at index 38: https://api.example.com/{proxy}
Thu Jul 04 13:34:51 UTC 2019 : Method completed with status: 500
The issue is with {proxy}
. If that's removed, my API works perfectly. From AWS documentation, they have it the same as well, so i wasn't expecting any issue.
Has anyone met this issue before and how did you resolve it or is there anything else I need set or maybe set wrongly? Thanks.