Cannot encoding string parameter with '&' correctly.
Tring to create a function with
[Get("/api/cases/statistics/{countyId}/{judgeId}/{reliefSought}/DecisionTimeByReleifSought")]
Task<JudgeReliefSought5NumberSummary> GetJudgeReliefSought5NumberSummary(string countyId, string judgeId, string reliefSought);
However, when I set
var reliefSought = 'JUDGMENT OF FORECLOSURE & SALE' with & inside.
The function cannot encoding this correctly and request the right url.
I'm not really sure that refit should do anything about this, you can always encode the fragment yourself if you want to pass refit invalid url text.
values passed in should be UrlEncoded by Refit if used on the path/query string. Will look closer.