### 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
"""Creates a new KeyValueBasedTransformer for the resource name.
        :param replacement_name ARN of a resource to extract name from
        :return: KeyValueBasedTransformer
        """
        return KeyValueBasedTransformer(_resource_name_transformer, replacement_name)
    @staticmethod
    def jsonpath(jsonpath: str, value_replacement: str, reference_replacement: bool = True):
        """Creates a new JsonpathTransformer. If the jsonpath matches, the value will be replaced.
        :param jsonpath: the jsonpath that should be matched
        :param value_replacement: the value which will replace the original value.
        By default it is the key-name in lowercase, separated with hyphen
        :param reference_replacement: if False, only the original value for this key will be replaced.
        If True all references of this value will be replaced (using a regex pattern), for the entire test case.
        In this case, the replaced value will be nummerated as well.
        Default: True
        :return: JsonpathTransformer
        """
        return JsonpathTransformer(
            jsonpath=jsonpath,
            replacement=value_replacement,
            replace_reference=reference_replacement,
        )
    @staticmethod
    def regex(regex: str | Pattern[str], replacement: str):