Skip to content

Instantly share code, notes, and snippets.

@joncloud
Last active August 24, 2016 18:47
Show Gist options
  • Save joncloud/67fd5e20820952d79b6b71cdca42fdc5 to your computer and use it in GitHub Desktop.
Save joncloud/67fd5e20820952d79b6b71cdca42fdc5 to your computer and use it in GitHub Desktop.
foo=bar%26foo&lorem=ipsum&bar=bar
Press any key to continue . . .
var content = new FormUrlEncodedContent(
new Dictionary<string, string>
{
["foo"] = "bar&foo",
["lorem"] = "ipsum",
["bar"] = "bar"
});
Console.WriteLine(content.ReadAsStringAsync().Result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment