Pause Raw

This function card pauses the running flow execution and returns raw HTTP data to the caller. You can resume the flow by calling the resume API. See Resume a paused flow.

A flow can have only one endpoint security setting. Pause Raw cards can't be used within an API Endpoint or delegated flow. See Flow endpoint security limits.

Use helper flows to use a Pause Raw card within a delegated flow. The endpoint security setting of a helper flow can be different from the parent flow.

Input

Field Definition Type Required

statusCode

A status code to return to the caller.

Valid values are 200 or any other HTTP response code from 400 through 599.

Number FALSE

headers

An object representing the headers for the response.

Each key of the header is parse into a header string as a "key: value" entry. For example, "Content-Type: text/plain".

Object FALSE

body

The body of the HTTP response.

Text FALSE

Output

Field Definition Type

Headers

The returned HTTP headers.

Object

Body

The returned HTTP response body.

Text

Related topics

Functions

Workflow elements