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 axios = require("axios")
const FormData = require("form-data");
const formData = new FormData()
formData.append('name', 'Luke Skywalker')
const headers = formData.getHeaders()
const config = {
method: "POST",
url: params.url,
headers,
data: formData,
}
return await axios(config)