> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/httpcontenttype.md).

# HttpContentType

## Overview

HttpContentType is an Enum that defines common Content-Type header values used in HTTP request or response.

This is used in the PostAsync() method of HttpService and specifies the data format of requests or responses.

## Items

| Name                  | Value | Description                                                                |
| --------------------- | ----- | -------------------------------------------------------------------------- |
| ApplicationJson       | 0     | "application/json" format; used for JSON data.                             |
| ApplicationXml        | 1     | "application/xml" format; used for XML data.                               |
| ApplicationUrlEncoded | 2     | "application/x-www-form-urlencoded" format; used for web form submissions. |
| TextPlain             | 3     | "text/plain" format; used for plain text.                                  |
| TextXml               | 4     | "text/xml" format; used for text-based XML data.                           |

## See also

{% content-ref url="/pages/CwptAMQTahzH2zP2UPbv" %}
[HttpService](/development/api-reference/classes/httpservice.md)
{% endcontent-ref %}
