Skip to main content

http.fatal

http.fatal(code...)

Description

Adds the code to the fatal results.

Parameters

ParameterTypeExplanation
codeIntegerThe code to add to the fatal results. Any amount of codes can be passed in as arguments.

Example

http = option.http

http.fatal(200)
http.get("https://postman-echo.com/status/200")