Scoped GlideServletRequest - getContentType()

Returns the MIME type of the body of the request.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The content type, returns null if the content type is not known.
var contentType = g_request.getContentType();