-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (35 loc) · 872 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 'HTTP Request Action'
description: 'Create any HTTP Request'
inputs:
url:
description: 'Request URL'
required: true
method:
description: 'Request Method'
required: false
default: 'POST'
httpVersion:
description: 'HTTP version'
required: false
contentType:
description: 'Content Type'
required: false
json:
description: 'Request Body as JSON String'
required: false
body:
description: 'Raw body data (images and such)'
required: false
headers:
description: 'Custom HTTP Headers'
required: false
outputs:
body:
description: 'HTTP Response Content'
headers:
description: 'HTTP Response Headers'
runs:
using: 'node12'
main: 'dist/index.js'
# using: 'docker'
# image: 'Dockerfile'