2020-02-24 04:23:15 -05:00
|
|
|
name: 'HTTP Request Action'
|
|
|
|
description: 'Create any HTTP Request'
|
|
|
|
inputs:
|
|
|
|
url:
|
|
|
|
description: 'Request URL'
|
|
|
|
required: true
|
|
|
|
method:
|
|
|
|
description: 'Request Method'
|
|
|
|
required: false
|
|
|
|
default: 'POST'
|
|
|
|
contentType:
|
|
|
|
description: 'Content Type'
|
|
|
|
required: false
|
|
|
|
data:
|
|
|
|
description: 'Request Body as JSON String'
|
|
|
|
required: false
|
|
|
|
default: '{}'
|
2021-01-24 07:14:13 -05:00
|
|
|
files:
|
|
|
|
description: 'Map of absolute file paths as JSON String'
|
|
|
|
required: false
|
|
|
|
default: '{}'
|
2020-02-24 04:23:15 -05:00
|
|
|
username:
|
|
|
|
description: 'Auth Username'
|
|
|
|
required: false
|
|
|
|
password:
|
|
|
|
description: 'Auth Password'
|
|
|
|
required: false
|
|
|
|
timeout:
|
|
|
|
description: 'Request Timeout in Sec'
|
|
|
|
required: false
|
|
|
|
default: '5000'
|
|
|
|
bearerToken:
|
|
|
|
description: 'Bearer Authentication Token'
|
|
|
|
required: false
|
2020-08-04 11:09:29 -04:00
|
|
|
customHeaders:
|
|
|
|
description: 'Custom HTTP Headers'
|
|
|
|
required: false
|
2020-07-30 12:27:27 -04:00
|
|
|
preventFailureOnNoResponse:
|
|
|
|
description: 'Prevent this Action to fail if the request respond without an response'
|
2020-07-21 03:26:48 -04:00
|
|
|
required: false
|
2021-03-19 12:28:53 -04:00
|
|
|
ignoreStatusCodes:
|
|
|
|
description: 'Prevent this Action to fail if the request respond with one of the configured StatusCodes'
|
|
|
|
required: false
|
2020-10-07 12:29:38 -04:00
|
|
|
escapeData:
|
|
|
|
description: 'Escape newlines in data string content'
|
|
|
|
required: false
|
2020-02-24 04:23:15 -05:00
|
|
|
outputs:
|
|
|
|
response:
|
|
|
|
description: 'HTTP Response Content'
|
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|