Skip to main content

rest.fatal

rest.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.rest

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