NODE OPERATORS Overview Running a Chainlink Node Fulfilling Requests Run an Ethereum Client Performing System Maintenance Connecting to a Remote Database Configuration Variables Enabling HTTPS Connections Best Security and Operating Practices Best Practices for Nodes on AWS Miscellaneous
ORACLE JOBS Migrating to v2 Jobs Jobs Cron Direct Request Flux Monitor Keeper Off-chain Reporting Webhook Tasks HTTP Bridge JSON Parse CBOR Parse ETH ABI Decode ETH ABI Decode Log ETH ABI Encode ETH Call ETH Tx Multiply Divide Any Mean Median Mode Sum
HTTP Task
HTTP tasks make HTTP requests to arbitrary URLs.
Parameters
method
: the HTTP method that the request should use.url
: the URL to make the HTTP request to.requestData
(optional): a statically-defined payload to be sent to the external adapter.allowUnrestrictedNetworkAccess
(optional): permits the task to access a URL atlocalhost
, which could present a security risk. Note that Bridge tasks allow this by default.
Outputs
A string containing the response body.
Example
my_http_task [type="http"
method="put"
url="http://chain.link"
requestData=<{
"foo": $(foo),
"bar": $(bar),
"jobID": 123
}>
allowUnrestrictedNetworkAccess=true]