auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps, params) => {
}
const { user, pass, host, port, url } = params
import { axios } from "@pipedream/platform"
import httpsProxyAgent from 'https-proxy-agent'
const agent = new httpsProxyAgent(`http://${user}:${pass}@${host}:${port}`)
const config = {
method: "GET",
url,
httpsAgent: agent
}
const resp = await axios.request(config)
this.data = resp.data