Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 855 Bytes

README.md

File metadata and controls

42 lines (34 loc) · 855 Bytes

flowify-component-http

Flowify componenet for http requests

Set the following environmental variables

Variables denoted with * can be set by run arguments by setting them as lowercase

Common settings

# http method to call. Currently support GET and POST *
export HTTP_METHOD

# Request URL *
export URL

# Path to save results from request. File name will be output.json *
# Not necessary if using Docker. The path will be /tmp/files/
export SAVE_PATH 

For POST request

# JSON payload for POST request *
export DATA

Optional: Authentication using Azure Service Principal

export AUTH=SERVICE_PRINCIPAL *
export CLIENT_ID 
export CLIENT_SECRET
export RESOURCE_ID
export TENANT_ID

Options

#Additonal headers (JSON) *
export EXTRA_HEADERS

# Log level
export LOG_LEVEL=4