YAML examples for HTTP Request
HTTP POST with custom headers
yaml
- action: HTTP Request Test
type: HTTP
trigger_time: ON_EVERY_EXECUTION
timeout: 300
disabled: false
ignore_errors: false
retry_count: 3
retry_interval: 5
content: '{"key": "value", "number": 123}'
method: POST
login: test_user
password: secret_password
port: '8080'
notification_url: https://api.example.com/webhook
headers:
- name: Content-Type
value: application/json
- name: Authorization
value: Bearer token123
- name: X-Custom-Header
value: custom-value
paths:
- /path/to/file1.txt
- /path/to/file2.json
- /uploads/data.csv
multipart_upload: true
Simple HTTP request
yaml
- action: HTTP Request
type: HTTP
login: tester
password: "$HTTP_PASSWORD"
port: '81'
notification_url: http://buddy.works
headers:
- name: headerKey1
value: headerValue1
- name: headerKey2
value: headerValue2
- name: headerKey3
value: headerValue3
paths:
- /maxuavtjnt
multipart_upload: true