1var url = new Uri(""); // url to make post request to
2var json = ""; // json to post
3
4// create string content with MediaTypeHeaderValue
5var stringContent = new StringContent(partialSnackerJson)
6{
7 Headers =
8 {
9 ContentType = new MediaTypeHeaderValue("application/json")
10 }
11};
12
13// make http request
14var response = await client.PostAsync(url, stringContent);