http.ok
http.ok(code...)
Description
Adds the code to the ok results.
Parameters
| Parameter | Type | Explanation |
|---|---|---|
| code | Integer | The code to add to the ok results. Any amount of codes can be passed in as arguments. |
Example
http = option.http
http.ok(404, 405)
http.get("https://postman-echo.com/status/404")
http.get("https://postman-echo.com/status/405")