Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
HttpContentType
Specifies the value of the HTTP Content-Type header which describes the HTTP request data type.
Items
| Name | Value | Description |
|---|---|---|
| ApplicationJson | 0 | Represents the "application/json" Content-Type. |
| ApplicationXml | 1 | Represents the "application/xml" Content-Type. |
| ApplicationUrlEncoded | 2 | Represents the "application/x-www-form-urlencoded" Content-Type. |
| TextPlain | 3 | Represents the "text/plain" Content-Type. |
| TextXml | 4 | Represents the "text/xml" Content-Type. |
ApplicationJson
Represents the "application/json" Content-Type.
| Field | Value |
|---|---|
| value | 0 |
ApplicationXml
Represents the "application/xml" Content-Type.
| Field | Value |
|---|---|
| value | 1 |
ApplicationUrlEncoded
Represents the "application/x-www-form-urlencoded" Content-Type.
| Field | Value |
|---|---|
| value | 2 |
TextPlain
Represents the "text/plain" Content-Type.
| Field | Value |
|---|---|
| value | 3 |
TextXml
Represents the "text/xml" Content-Type.
| Field | Value |
|---|---|
| value | 4 |