Sets the request's content type to application/x-www-form-urlencoded and sends form data.
123456789101112
HttpRequestBuilder.Post("https://furion.net/") .SetFormUrlEncodedContent(new { id = 1, name = "Furion" });HttpRequestBuilder.Post("https://furion.net/") .SetFormUrlEncodedContent(new { id = 1, name = "Furion" }, useStringContent: true); // Uses StringContent to resolve the FormUrlEncodedContent encoding issue// Supports URL-encoded string formatHttpRequestBuilder.Post("https://furion.net/") .SetFormUrlEncodedContent("id=1&name=furion", useStringContent: true);HttpRequestBuilder.Post("https://furion.net/") .SetFormUrlEncodedContent(new { id = 1, name = "Furion" }, urlEncode: false); // Can be configured to skip URL encoding