http

Sends a HTTP request and returns the response as JSON.

Script Data


NameDescription
Script Typejavascript
TagsUtility
Demisto Version3.5.0+

Inputs


Argument NameDescription
methodThe method for the http request.
bodyThe body for the http request.
urlThe URL for the http request.
headersThe headers for the http request, in the format of "key1:value1,key2:value2, ...".
insecureTrust any certificate (not secure).
unsecureTrust any certificate (not secure).
proxyUse the system proxy settings.
usernameThe user for the http request.
passwordThe password for the http request.
saveAsFileWhether to save the file. The default is "no".
filenameThe filename from headers if the filename is not given. The default is "http-file".

Outputs


PathDescriptionType
HttpRequest.ResponseThe response for the http request.Unknown