Hi!
I want send data and get data from server side. I have applicationList and token for connect to server. Where is my mistake I can't send applicationList and token with url?
List<string> applicationList = new List<string>();
applicationList.Add("30");
applicationList.Add("0");
applicationList.Add("Consumer");
applicationList.Add("Dushanbe");
applicationList.Add("South West Region");
applicationList.Add("7000");
applicationList.Add("10");
applicationList.Add("1");
applicationList.Add("22");
applicationList.Add("0.10");
var client = new RestClient($"https://192.168.0.21:4455/api/Test/InsertUser/?{applicationList}?token=CBNL6vHAT8Q2d2rxfpUFrjk012Kgm89j");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
var json = JsonConvert.SerializeObject(applicationList);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", json, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);