Refit.BodySerializationMethod
Defines methods to serialize HTTP requests' bodies.
Default = 0
Encodes everything using the ContentSerializer in RefitSettings except for strings. Strings are set as-is.
Json = 1
Uses the configured content serializer, including for strings; retained as an obsolete compatibility value.
JsonLines = 4
Encodes an enumerable body as JSON Lines (newline-delimited JSON): each element is serialized
with the ContentSerializer and emitted on its own line. See .
Serialized = 3
Encodes everything using the ContentSerializer in RefitSettings.
UrlEncoded = 2
Form-UrlEncode's the values.