I am trying to Post request with my entities using RestSharp.
But I receive an error:
"System.Xml.XmlException : The '`' character, hexadecimal value 0x60,
cannot be included in a name."
I am placing the list in the body of the query.
var strList = new List<string>();
strList.Add("one");
strList.Add("two");
restRequest.AddBody(strList);
It seems it doesn't like how the generic is serialized. Is there any advices how the list should be passed to request?