step-security/HTTP Request Action

Create any HTTP Request

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
urlRequest URLyes
methodRequest MethodnoPOST
contentTypeContent Typenoapplication/json
dataRequest Body as JSON Stringno{}
filesMultipart form-data file map as a JSON string, e.g. {"fieldName": "/absolute/path/to/file"}. Takes precedence over file when both are set.no{}
fileA single absolute file path. Only used when data and files are both empty.no
usernameAuth Usernameno
passwordAuth Passwordno
timeoutRequest Timeout in millisecondsno5000
bearerTokenBearer Authentication Tokenno
customHeadersCustom HTTP Headers as a JSON object string, e.g. {"Header-Name": "value"}no
preventFailureOnNoResponsePrevent this Action from failing if the request receives no response. Set to 'true' to enable.nofalse
ignoreStatusCodesComma-separated list of HTTP status codes that will not cause the action to fail, e.g. "404,422"no
escapeDataEscape newlines in data string contentnofalse
httpsCACertificate authority as string in PEM formatno
httpsCertClient Certificate as stringno
httpsKeyClient Certificate Key as stringno
responseFilePersist the response data to the specified file pathno
maskResponseAllows to mark your response as secret and hide the output in the action logsnofalse
retryNumber of retries if the request failsno0
retryWaitWait time between retries in millisecondsno3000
ignoreSslIgnore SSL verification (rejectUnauthorized: false)nofalse
namedescription
responseHTTP Response Body as JSON string
headersHTTP Response Headers
statusHTTP Response Status Code
requestErrorOn Axios request errors, a JSON string with fields: name, message, code, status; status may be null when no response is available