Skip to content

Enforcing trailing slash required by API #75

@AKrasheninnikov

Description

@AKrasheninnikov

Hi!

I'm a new user of your library and it looks very convenient and promising in most cases. However, I am consuming an API that has resources containing dashes and requiring trailing slashes in the endpoint URLs in some cases. I haven't deeply debugged RestClient yet but it seems that the slash I provide in Resource("endpoint/") is omitted. How can I customize RestClient to use URLs I provide verbatim without any trimming?

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions