Я хочу сделать запрос POST на такой URL:
http://localhost/resource?auth_token=1234
И я хочу отправить JSON в тело. Мой код выглядит примерно так:
var client = new RestClient("http://localhost");
var request = new RestRequest("resource", Method.POST);
request.AddParameter("auth_token", "1234");
request.AddBody(json);
var response = client.Execute(request);
Как установить параметр auth_token
как параметр GET и сделать запрос как POST?