APP_CONTENT_TYPE
) is JSON; URLENCODED is also supported.
APP_URL
parameter, which corresponds to the external API URL.
TOKEN
parameter is available for authentication for external APIs where the token is not included in the URL. In these cases, the token will be sent in the payload using the TOKEN
parameter.
APP_RESPONSE_STATUS OUT
parameter is not defined, an exception will be triggered; 2xx
HTTP response status codes are successful responses.
"icon_emoji"
parameter (this is the Slack API’s accepted notation for this particular parameter).
APP_TIMEOUT
) is 3000 milliseconds; the maximum timeout is 60,000 milliseconds.
APP_HEADER_xxx
parameters, where xxx
is the header field name.
SendHttpPostMaxResponseLength
parameter value in the web.config
file.
SendHttpPostLogLevel
parameter value in the web.config
file to 0
to disable logging, 2
for simple logs, or 3
for debug logs.APP_URL
TOKEN
APP_TIMEOUT
APP_CONTENT_TYPE
APP_RESPONSE_CONTENT
APP_RESPONSE_STATUS
APP_HEADER_xxx
xxx
is the header field nameAPP_REQUEST_CONTENT_IS_ARRAY
Y
, the application will convert the JSON request payload into an array; the default is N
APP_HEADER_Authorization
Bearer AbCdEf123456
APP_HEADER_location
canadaeast
APP_REQUEST_CONTENT_IS_ARRAY
to Y
, it will convert the JSON into an array: