1 min read

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

NameValueDescription
ApplicationJson0Represents the "application/json" Content-Type.
ApplicationXml1Represents the "application/xml" Content-Type.
ApplicationUrlEncoded2Represents the "application/x-www-form-urlencoded" Content-Type.
TextPlain3Represents the "text/plain" Content-Type.
TextXml4Represents the "text/xml" Content-Type.

ApplicationJson

Represents the "application/json" Content-Type.

FieldValue
value0

ApplicationXml

Represents the "application/xml" Content-Type.

FieldValue
value1

ApplicationUrlEncoded

Represents the "application/x-www-form-urlencoded" Content-Type.

FieldValue
value2

TextPlain

Represents the "text/plain" Content-Type.

FieldValue
value3

TextXml

Represents the "text/xml" Content-Type.

FieldValue
value4