API Gateway forward path downstream application

If we define a /{proxy+} like this:

enter image description here

proxy will be the path parameter of the request and entire path can be appended to integration endpoint by simply adding /{proxy} at the end of the url and mapping that proxy from method.request.path.proxy

We need to add /{proxy} at the end of the endpoint url

enter image description here

Here is the tutorial for HTTP Api

enter image description here