8000 [BUG] URL path must start with '/' and be of the form '/foo/bar/baz' · Issue #1105 · reactiveui/refit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[BUG] URL path must start with '/' and be of the form '/foo/bar/baz' #1105
Closed
@mjfara

Description

@mjfara

Is this enforced for any reason?
I have a particular case where I do not want to start the url with a '/'

For instance, take this generic Get:

        [Get("({key})")]
        Task<T> Get(TKey key);

My base address is something like:
mysite.com/contacts

And I would like the attribute to simply append an id in brackets (123-456-789), resulting in:
mysite.com/contacts(123-456-789)

Any way to hack around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0