import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
webling: {
type: "app",
app: "webling",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.webling.$auth.subdomain}.webling.ch/api/1/user`,
headers: {
"apikey": `${this.webling.$auth.api_key}`,
},
params: {
format: `full`,
},
})
},
})
Webling uses API keys for authentication. When you connect your Webling account, Pipedream securely stores the keys so you can easily authenticate to Webling APIs in both code and no-code steps.