-
- Notifications
You must be signed in to change notification settings - Fork 36
Conditionstatus
psiinon edited this page Apr 4, 2013 · 2 revisions
This conditional tests the status code of the last response.
| Name | Format | Description |
| code | Long | The status code to compare with |
| ifStatements | Array | The statements to run if the status code matches |
| elseStatements | Array | The statements to run if the status code does not match |
| index | Integer | The index of the statement in the script |
| elementType | String | Always ZestConditionStatusCode |
{ "code": 200, "ifStatements": [], "elseStatements": [], "index": 2, "elementType": "ZestConditionStatusCode" } - Zest Core for details about Zest