Makbuzu XML Olarak gönderir

var client = new RestClient("https://apitest.nilvera.com/eproducer/Send/Xml");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AlwaysMultipartFormData = true;
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);