Right side

Overview

The right side contains all the configuration for the request, and options for using the method as a logic patch in patchwork.

right

Sections

This section is design to collect information about the method and payloads to send request to API. Here user can configure header, body and method url for the request.

Name

The method name is the identifier for the method. This is displayed as the name for the patch in patchwork.

URL

The URL is the address to the function the request is sent to, and is added to the base URL to create a full path.

Type

The type defines the HTTP method to use in the request to the service.

Options: GET / POST / PUT / PATCH / DELETE

Body

The body is a JSON object that is sent with POST / PUT/ PATCH methods.

Inputs

Variable/parameter that we need to pass to method. We may use these parameters to append to URL, Body or Header to prepare request.

Name

Type

id

String

These inputs can be used to receive value from other view/integration.

Headers

Key-value pair for request object. We can use inputs to specify values in headers. This is typically` used to provide authorization.

Example: Authorization ${token}

Outputs

Out parameters can be specified, here we can form the output we need from the integration block. Same like outputs of normal view.

Example:

Name Response key

fname

result.0.first_name

Lname

result.0.last_name

Storage

The storage section When request is executed, if we want to update the Local storage defined in integration, we can configure that here.

Example:

Name Value

'rsp'

'_meta.token'