Table of Contents

setcontenttype()

Function Definition: setcontenttype(type = "application/x-www-form-urlencoded")

Parameters

NameTypeDescriptionExpected ValuesDefault Value
typestringThe type of content."application/x-www-form-urlencoded", "application/json", "text/plain""application/x-www-form-urlencoded"

Description

The function sets the body content type to the specified value.

Example

There are no examples documented for this article.