If we define a /{proxy+} like this:
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
Here is the tutorial for HTTP Api