2020-02-24 09:23:15 +00: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
|
|
|
|
default: 'application/json'
|
|
|
|
data:
|
|
|
|
description: 'Request Body as JSON String'
|
|
|
|
required: false
|
|
|
|
default: '{}'
|
|
|
|
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-07-21 07:26:48 +00:00
|
|
|
customHeaders:
|
|
|
|
description: 'Custom HTTP Headers'
|
|
|
|
required: false
|
2020-02-24 09:23:15 +00:00
|
|
|
outputs:
|
|
|
|
response:
|
|
|
|
description: 'HTTP Response Content'
|
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|