var request = GetRequest("users?login={username}", Method.GET);
missing a $ in there for the string interpolation
var request = GetRequest($"users?login={username}", Method.GET);
Would generally help to also know where the RestClient and GetRequest are coming from.