3.11Setting Text Content

Created on Aug 17, 2026~1 min read

Sets the request's content type to text/plain and sends plain text data.

cs
HttpRequestBuilder.Post("https://furion.net/")    .SetTextContent("Furion");HttpRequestBuilder.Post("https://furion.net/")    .SetTextContent("Furion", Encoding.UTF8);    // Sets the encodingHttpRequestBuilder.Post("https://furion.net/")    .SetTextContent("Furion", Encoding.UTF8, "text/plain");    // Custom content-type