I need to post data to a wcf service with a wp7. After a quick look i found rest sharp and a lot of tuto to use it in “get” mode.
But I can’t find a solution to post data to my service.
var client = new RestClient(Global.Url + "/user");
var request = new RestRequest("resource", Method.POST);
client.ExecuteAsync<Resource>(request, (response) =>
{
var resource = response.Data;
});
That’s what I found in the rest sharp website. But I do not understand what the “Ressource” is.
“resource” is a name of the method called on a server, i.e.
Global.Url + "/user/resource?some_parameter=value