I can use RestSharp very well sending "mono-line" things like:
"user, password, email, telephone, ... "
But I can't understand how to send multiple lines, for example, all the values in this table:
+-----------+-----------+-------+
| Dog | Race | user |
+-----------+-----------+-------+
| Skitty | Doberman | User1 |
| Birillo | Pinscher | User2 |
| Fragolino | Corgi | User3 |
| ... | ... | ... |
+-----------+-----------+-------+
How am I supposed to format parameters for restsharp?
Thanks
Edit: as asked I show How I send "normal" data:
I take data from user input in EditText (like, string1, string2, string3), and send them to a class I use for RestSharp, and I send them with:
var client = new RestClient("x.x.x.x/app/");
var request = new RestRequest("/ServiceX", Method.POST);
request.AddParameter("Dog", string1);
request.AddParameter("Race", string2);
request.AddParameter("User", string3);
IRestResponse response = client.Execute(request);
var content = response.Content;
This is a single line in a table, I can add only 1 line per request in this way. But I want to upload more lines.
Thanks