### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

event path doesn't have trailing slash

### Expected Behavior

event path should have trailing slash

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

{**'path': '/get_presigned_url'**, 'headers': {'Host': '0vcomlwzdi.execute-api.localhost.localstack.cloud:4566', .... more event logs .... }

### Environment

```markdown
- OS: Mac m1 
- LocalStack: 1.0.1
```


### Anything else?

noticing this while running a lambda test against localstack...in AWS the trailing slash in present
"""Return the region name for the given REST API ID"""
    for account_id, account in apigateway_backends.items():
        for region_name, region in account.items():
            if api_id in region.apis:
                return region_name
def extract_api_id_from_hostname_in_url(hostname: str) -> str:
    """Extract API ID 'id123' from URLs like https://id123.execute-api.localhost.localstack.cloud:4566"""
    match = re.match(HOST_REGEX_EXECUTE_API, hostname)
    return match.group(1)
def create_invocation_headers(invocation_context: ApiInvocationContext) -> Dict[str, Any]:
    headers = invocation_context.headers
    integration = invocation_context.integration
    if request_parameters := integration.get("requestParameters"):
        for req_parameter_key, req_parameter_value in request_parameters.items():
            if (
                header_name := req_parameter_key.lstrip("integration.request.header.")
                if "integration.request.header." in req_parameter_key
                else None
            ):
                headers.update({header_name: req_parameter_value})
    return headers
#
TypeExporter = Callable[[str, str, str], str]
class OpenApiExporter: