Use this option to set a custom content type. If possible use PostMode to specify a predefined content type as it will ensure that Post data is appropriately formatted.

If setting the content type manually POST data

public string ContentType { get; set; }

See also:

Class HttpClient

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic