Skip to content

Add support for space seperated url encoding #2005

@DevTKSS

Description

@DevTKSS

Is your feature request related to a problem? Please describe.

I would need to seperate scopes for an oAuth Authorization Code flow like this:

&scope=transactions_r%20transactions_w

but all I seen that Refit supports is this:

Search(new [] {10, 20, 30})
>>> "/users/list?ages=10%2C20%2C30"

where you can recognize that is including a different seperator than I would need.

Describe the solution you'd like

Add support for url safe encoding " " to %20 or specifying the seperator characters?

Describe alternatives you've considered

Replacing it with UrlEncoder or my current approach is string.Replace set in foreach loop?

Describe suggestions on how to achieve the feature

some replace functionality or another Encoding for the querystring beside the CSV ?

Additional context

I did not find proper docs about this "Delimiter" is this something like I need?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions