There is a way to use Refit to input parameters in a dynamic way?
I have this code in my Refit`s Interface:
[Get("/click?{parm}")]
Task<ApiResponse<TAny>> SaveClick(string parm);
the value of parm is:
"id=1234&x=567"
my route:
[HttpGet]
[Route("click")]
public void test ([FromQuery] string id)
{
Ok("Ok");
}
All Im getting is that the value from id parameter is null. The expected result would be a string with value "1234"
Any help :D?