{
    "subflows": [
        {
            "flow": [
                {
                    "id": 10,
                    "module": "http:MakeRequest",
                    "version": 4,
                    "parameters": {
                        "authenticationType": "noAuth",
                        "tlsType": ""
                    },
                    "mapper": {
                        "url": "https://posmelene.dicha.me/onoma",
                        "method": "post",
                        "headers": [
                            {
                                "name": "Authorization",
                                "value": "Bearer {{api_key}}"
                            },
                            {
                                "name": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "contentType": "json",
                        "parseResponse": true,
                        "stopOnHttpError": true,
                        "allowRedirects": true,
                        "shareCookies": false,
                        "requestCompressedContent": true,
                        "inputMethod": "jsonString",
                        "jsonStringBodyContent": "{\r\n  \"first_name\": \"{{first_name}}\"\r\n}"
                    },
                    "metadata": {
                        "designer": {
                            "x": 1140,
                            "y": 112,
                            "name": "Get a Greek name at Vocative"
                        },
                        "restore": {
                            "parameters": {
                                "authenticationType": {
                                    "label": "No authenticationUse when no credentials are required for the request."
                                },
                                "tlsType": {
                                    "label": "Empty"
                                }
                            },
                            "expect": {
                                "method": {
                                    "mode": "chose",
                                    "label": "POST"
                                },
                                "headers": {
                                    "mode": "chose",
                                    "items": [
                                        null,
                                        null
                                    ]
                                },
                                "queryParameters": {
                                    "mode": "chose"
                                },
                                "contentType": {
                                    "label": "application/jsonEnter data in the JSON format, as a string or using a data structure."
                                },
                                "parseResponse": {
                                    "mode": "chose"
                                },
                                "stopOnHttpError": {
                                    "mode": "chose"
                                },
                                "allowRedirects": {
                                    "mode": "chose"
                                },
                                "shareCookies": {
                                    "mode": "chose"
                                },
                                "requestCompressedContent": {
                                    "mode": "chose"
                                },
                                "inputMethod": {
                                    "label": "JSON stringEnter the JSON body as a raw text string. If values contain JSON reserved characters, you must escape them manually."
                                },
                                "paginationType": {
                                    "label": "Empty"
                                }
                            }
                        },
                        "parameters": [
                            {
                                "name": "authenticationType",
                                "type": "select",
                                "label": "Authentication type",
                                "required": true,
                                "validate": {
                                    "enum": [
                                        "noAuth",
                                        "apiKey",
                                        "basicAuth",
                                        "oAuth"
                                    ]
                                }
                            },
                            {
                                "name": "tlsType",
                                "type": "select",
                                "label": "Transport layer security (TLS)",
                                "validate": {
                                    "enum": [
                                        "mTls",
                                        "tls"
                                    ]
                                }
                            },
                            {
                                "name": "proxyKeychain",
                                "type": "keychain:proxy",
                                "label": "Proxy"
                            }
                        ],
                        "expect": [
                            {
                                "name": "url",
                                "type": "url",
                                "label": "URL",
                                "required": true
                            },
                            {
                                "name": "method",
                                "type": "select",
                                "label": "Method",
                                "required": true,
                                "validate": {
                                    "enum": [
                                        "get",
                                        "head",
                                        "post",
                                        "put",
                                        "patch",
                                        "delete",
                                        "options"
                                    ]
                                }
                            },
                            {
                                "name": "headers",
                                "type": "array",
                                "label": "Headers",
                                "spec": {
                                    "name": "value",
                                    "label": "Header",
                                    "type": "collection",
                                    "spec": [
                                        {
                                            "name": "name",
                                            "label": "Name",
                                            "type": "text",
                                            "required": true,
                                            "validate": {
                                                "pattern": "^[-!#$%&'*+.^_`|~0-9A-Za-z]+$"
                                            }
                                        },
                                        {
                                            "name": "value",
                                            "label": "Value",
                                            "type": "text"
                                        }
                                    ]
                                }
                            },
                            {
                                "name": "queryParameters",
                                "type": "array",
                                "label": "Query parameters",
                                "spec": {
                                    "name": "value",
                                    "label": "Parameter",
                                    "type": "collection",
                                    "spec": [
                                        {
                                            "name": "name",
                                            "label": "Name",
                                            "type": "text",
                                            "required": true
                                        },
                                        {
                                            "name": "value",
                                            "label": "Value",
                                            "type": "text"
                                        }
                                    ]
                                }
                            },
                            {
                                "name": "contentType",
                                "type": "select",
                                "label": "Body content type",
                                "validate": {
                                    "enum": [
                                        "json",
                                        "multipart",
                                        "urlEncoded",
                                        "custom"
                                    ]
                                }
                            },
                            {
                                "name": "parseResponse",
                                "type": "boolean",
                                "label": "Parse response",
                                "required": true
                            },
                            {
                                "name": "stopOnHttpError",
                                "type": "boolean",
                                "label": "Return error if HTTP request fails",
                                "required": true
                            },
                            {
                                "name": "timeout",
                                "type": "uinteger",
                                "label": "Timeout",
                                "validate": {
                                    "min": 1,
                                    "max": 300
                                }
                            },
                            {
                                "name": "allowRedirects",
                                "type": "boolean",
                                "label": "Allow redirects",
                                "required": true
                            },
                            {
                                "name": "shareCookies",
                                "type": "boolean",
                                "label": "Share cookies with other HTTP modules",
                                "required": true
                            },
                            {
                                "name": "requestCompressedContent",
                                "type": "boolean",
                                "label": "Request compressed content",
                                "required": true
                            },
                            {
                                "name": "inputMethod",
                                "type": "select",
                                "label": "Body input method",
                                "required": true,
                                "validate": {
                                    "enum": [
                                        "dataStructure",
                                        "jsonString"
                                    ]
                                }
                            },
                            {
                                "name": "jsonStringBodyContent",
                                "type": "text",
                                "label": "Body content",
                                "required": true
                            },
                            {
                                "name": "paginationType",
                                "type": "select",
                                "label": "Pagination type",
                                "validate": {
                                    "enum": [
                                        "offsetBased",
                                        "pageBased",
                                        "urlBased",
                                        "tokenBased"
                                    ]
                                }
                            }
                        ],
                        "interface": [
                            {
                                "name": "data",
                                "label": "Data",
                                "type": "any"
                            },
                            {
                                "name": "statusCode",
                                "label": "Status Code",
                                "type": "number"
                            },
                            {
                                "name": "headers",
                                "label": "Headers",
                                "type": "collection",
                                "spec": [
                                    {
                                        "name": "content-length",
                                        "label": "Content-Length",
                                        "type": "text"
                                    },
                                    {
                                        "name": "content-encoding",
                                        "label": "Content-Encoding",
                                        "type": "text"
                                    },
                                    {
                                        "name": "content-type",
                                        "label": "Content-Type",
                                        "type": "text"
                                    },
                                    {
                                        "name": "server",
                                        "label": "Server",
                                        "type": "text"
                                    },
                                    {
                                        "name": "cache-control",
                                        "label": "Cache-Control",
                                        "type": "text"
                                    },
                                    {
                                        "name": "set-cookie",
                                        "label": "Set-Cookie",
                                        "type": "array",
                                        "spec": {
                                            "type": "text"
                                        }
                                    }
                                ]
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "metadata": {
        "version": 1
    }
}
