Skip to main content

http.statuscode

http.statuscode

http.getStatuscode()

Description

Gets/contains the HTTP status code from the last request.

Example

http = option.http

statusCode = http.statuscode
map.statusCode = statusCode
api.publish(map)

statusCode = http.getStatuscode()
map.statusCode = statusCode
api.publish(map)