The easyDNS API can be used to perform a variety of tasks, including:
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}`,
},
})
},
})
easyDNS uses API keys for authentication. When you connect your easyDNS account, Pipedream securely stores the keys so you can easily authenticate to easyDNS APIs in both code and no-code steps.