<PackageReference Include="Refit" Version="17.0.0" />

Refit.UrlResolutionMode

public enum UrlResolutionMode
Defines how Refit combines the client's base address with a method's relative URL.

The historical Refit behavior: relative paths must start with /, the base address path is prepended, and a trailing slash on the base address is trimmed to avoid a double slash. This is the default.

Rfc3986 = 1

RFC 3986 / HttpClient resolution: the relative URL is merged with the base address using Uri rules. A relative path without a leading slash is appended to the base address path, while a leading slash replaces it. The leading-slash requirement is relaxed in this mode.