Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 412 Bytes

set-status.md

File metadata and controls

21 lines (13 loc) · 412 Bytes

set-status Action

Set the response's HTTP status code.

Syntax

<set-status code="201"/>

Usage

The code attribute is mandatory.

If the code is empty or not a number, status 500 will be used.

HTTP status codes defined in RFC 7231 are sent with their proposed "reason phrase" (e.g. OK or Not Found).

The flow is not terminated.