Set the content type of your request. The default value after each request is $API_CONTENT_TYPE_TEXTJSON
_API_RES_SET_CONTENT_TYPE($mime)
The most common statuses are defined as constants, see more at #Region Mimes (Content types)
_API_RES_SET_STATUS