3.6Setting the Content Type

Created on Aug 17, 2026~1 min read

Specifies the content type of the request.

cs
HttpRequestBuilder.Get("https://furion.net/")    .SetContentType("text/plain");HttpRequestBuilder.Get("https://furion.net/")    .SetContentType("text/plain; charset=utf-8");   // supports specifying a character set