with Lead Identity Check and easyDNS?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lead_identity_check: {
type: "app",
app: "lead_identity_check",
}
},
async run({steps, $}) {
const data = {
"Firstname": `Sergio`,
"Lastname": `Wong`,
"Email": `sergio@pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://leadidentitycheck-node.vercel.app/main/lic/v1`,
headers: {
" x-lic-key": `${this.lead_identity_check.$auth.api_key}`,
"filterkey": `${this.lead_identity_check.$auth.filter_key}`,
},
data,
})
},
})
The easyDNS API enables powerful interaction with your easyDNS domain services, allowing for automated domain management tasks. It supports operations like updating DNS records, managing domain registrations, and checking domain availability, all through a programmatic interface. Leveraging the easyDNS API within Pipedream, you can create automated workflows that respond to events from a multitude of services, maintain domain health, and streamline your domain operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easydns: {
type: "app",
app: "easydns",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.easydns.net/user`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.easydns.$auth.Token}`,
password: `${this.easydns.$auth.Key}`,
},
})
},
})