Created
September 16, 2022 06:22
-
-
Save optlsnd/e6c8a7fc7e18e1b75a5312eeed48c4bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Integration HTTP", | |
"flow": [ | |
{ | |
"id": 1, | |
"module": "http:ActionSendData", | |
"version": 3, | |
"parameters": { | |
"handleErrors": false, | |
"useNewZLibDeCompress": true | |
}, | |
"mapper": { | |
"url": "https://api.uploadcare.com/files/storage/", | |
"serializeUrl": false, | |
"method": "delete", | |
"headers": [ | |
{ | |
"name": "Authorization", | |
"value": "Uploadcare.Simple demopublickey:demoprivatekey" | |
}, | |
{ | |
"name": "Accept", | |
"value": "application/vnd.uploadcare-v0.7+json" | |
} | |
], | |
"qs": [], | |
"bodyType": "raw", | |
"parseResponse": false, | |
"authUser": "", | |
"authPass": "", | |
"timeout": "", | |
"shareCookies": false, | |
"ca": "", | |
"rejectUnauthorized": true, | |
"followRedirect": true, | |
"useQuerystring": false, | |
"gzip": true, | |
"useMtls": false, | |
"contentType": "application/json", | |
"data": "[\"e7798e23-05ed-4b70-a8f6-526072455af8\",\"56383523-8e39-42eb-a827-defe1e5d3f0b\"]", | |
"followAllRedirects": false | |
}, | |
"metadata": { | |
"designer": { | |
"x": 0, | |
"y": 0 | |
}, | |
"restore": { | |
"expect": { | |
"method": { | |
"mode": "chose", | |
"label": "DELETE" | |
}, | |
"headers": { | |
"mode": "chose", | |
"items": [ | |
null, | |
null | |
] | |
}, | |
"qs": { | |
"mode": "chose" | |
}, | |
"bodyType": { | |
"label": "Raw" | |
}, | |
"contentType": { | |
"label": "JSON (application/json)" | |
} | |
} | |
}, | |
"parameters": [ | |
{ | |
"name": "handleErrors", | |
"type": "boolean", | |
"label": "Evaluate all states as errors (except for 2xx and 3xx )", | |
"required": true | |
}, | |
{ | |
"name": "useNewZLibDeCompress", | |
"type": "hidden" | |
} | |
], | |
"expect": [ | |
{ | |
"name": "url", | |
"type": "url", | |
"label": "URL", | |
"required": true | |
}, | |
{ | |
"name": "serializeUrl", | |
"type": "boolean", | |
"label": "Serialize 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": "name", | |
"label": "Name", | |
"type": "text", | |
"required": true | |
}, | |
{ | |
"name": "value", | |
"label": "Value", | |
"type": "text" | |
} | |
] | |
}, | |
{ | |
"name": "qs", | |
"type": "array", | |
"label": "Query String", | |
"spec": [ | |
{ | |
"name": "name", | |
"label": "Name", | |
"type": "text", | |
"required": true | |
}, | |
{ | |
"name": "value", | |
"label": "Value", | |
"type": "text" | |
} | |
] | |
}, | |
{ | |
"name": "bodyType", | |
"type": "select", | |
"label": "Body type", | |
"validate": { | |
"enum": [ | |
"raw", | |
"x_www_form_urlencoded", | |
"multipart_form_data" | |
] | |
} | |
}, | |
{ | |
"name": "parseResponse", | |
"type": "boolean", | |
"label": "Parse response", | |
"required": true | |
}, | |
{ | |
"name": "authUser", | |
"type": "text", | |
"label": "User name" | |
}, | |
{ | |
"name": "authPass", | |
"type": "password", | |
"label": "Password" | |
}, | |
{ | |
"name": "timeout", | |
"type": "uinteger", | |
"label": "Timeout", | |
"validate": { | |
"max": 300, | |
"min": 1 | |
} | |
}, | |
{ | |
"name": "shareCookies", | |
"type": "boolean", | |
"label": "Share cookies with other HTTP modules", | |
"required": true | |
}, | |
{ | |
"name": "ca", | |
"type": "cert", | |
"label": "Self-signed certificate" | |
}, | |
{ | |
"name": "rejectUnauthorized", | |
"type": "boolean", | |
"label": "Reject connections that are using unverified (self-signed) certificates", | |
"required": true | |
}, | |
{ | |
"name": "followRedirect", | |
"type": "boolean", | |
"label": "Follow redirect", | |
"required": true | |
}, | |
{ | |
"name": "useQuerystring", | |
"type": "boolean", | |
"label": "Disable serialization of multiple same query string keys as arrays", | |
"required": true | |
}, | |
{ | |
"name": "gzip", | |
"type": "boolean", | |
"label": "Request compressed content", | |
"required": true | |
}, | |
{ | |
"name": "useMtls", | |
"type": "boolean", | |
"label": "Use Mutual TLS", | |
"required": true | |
}, | |
{ | |
"name": "contentType", | |
"type": "select", | |
"label": "Content type", | |
"validate": { | |
"enum": [ | |
"text/plain", | |
"application/json", | |
"application/xml", | |
"text/xml", | |
"text/html", | |
"custom" | |
] | |
} | |
}, | |
{ | |
"name": "data", | |
"type": "buffer", | |
"label": "Request content" | |
}, | |
{ | |
"name": "followAllRedirects", | |
"type": "boolean", | |
"label": "Follow all redirect", | |
"required": true | |
} | |
] | |
} | |
} | |
], | |
"metadata": { | |
"instant": false, | |
"version": 1, | |
"scenario": { | |
"roundtrips": 1, | |
"maxErrors": 3, | |
"autoCommit": true, | |
"autoCommitTriggerLast": true, | |
"sequential": false, | |
"confidential": false, | |
"dataloss": false, | |
"dlq": false | |
}, | |
"designer": { | |
"orphans": [] | |
}, | |
"zone": "us1.make.com" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment