I want to send POST with parameters, but I don't know how to do it.
My code:
Uri resourceAddress = new Uri("http://web.com/geo");
try
{
HttpResponseMessage response=await httpClient.PostAsync(resourceAddress,
new HttpStringContent("")).AsTask(cts.Token);
}
catch (Exception ex) { }
finally { }
How can I send a post with this code like: { latitude:-1.323141, lng:24.42342 }