async
params => {
}
if (!params.auth) params.auth = {}
const config = {
method: params.method,
url: params.url,
params: params.query,
headers: params.headers,
auth: {
username: params.auth.username,
password: params.auth.password,
},
responseType: params.responseType,
data: params.data,
}
return await require("@pipedreamhq/platform").axios(this, config)
async
params => {
}
if (!params.auth) params.auth = {}
const config = {
method: params.method,
url: params.url,
params: params.query,
headers: params.headers,
auth: {
username: params.auth.username,
password: params.auth.password,
},
responseType: params.responseType,
data: params.data,
}
return await require("@pipedreamhq/platform").axios(this, config)
Enter the name of the table (e.g., my_table_name) to load the payload data into. Pipedream's SQL service automatically creates the table and adapts the schema to your data.
Enter a reference to the data (for example, event.body or steps.step_name.return_value) you'd like to insert into the table. Pipedream’s SQL service automatically converts the data to JSON and maps the table schema to its keys.
async
params => {
}
$send.sql({
table: params.table,
payload: params.payload,
})