### 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
),
                        identity_source=aws_apigateway_authorizer.get("identitySource"),
                        identiy_validation_expression=aws_apigateway_authorizer.get(
                            "identityValidationExpression"
                        ),
                        authorizer_result_ttl=aws_apigateway_authorizer.get(
                            "authorizerResultTtlInSeconds"
                        )
                        or 300,
                    )
                    if authorizer:
                        authorizers.update({security_scheme_name: authorizer})
                    return authorizer
    def get_or_create_path(abs_path: str, base_path: str):
        parts = abs_path.rstrip("/").replace("//", "/").split("/")
        parent_id = ""
        if len(parts) > 1:
            parent_path = "/".join(parts[:-1])
            parent = get_or_create_path(parent_path, base_path=base_path)
            parent_id = parent.id
        if existing := [
            r
            for r in rest_api.resources.values()
            if r.path_part == (parts[-1] or "/") and (r.parent_id or "") == (parent_id or "")
        ]:
            return existing[0]
        
        rel_path = abs_path.removeprefix(base_path)
        return add_path_methods(rel_path, parts, parent_id=parent_id)
    def add_path_methods(rel_path: str, parts: List[str], parent_id=""):