import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cvr_dev: {
type: "app",
app: "cvr_dev",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cvr.dev/api/test/apikey`,
headers: {
"Authorization": `${this.cvr_dev.$auth.api_key}`,
},
})
},
})
cvr.dev uses API keys for authentication. When you connect your cvr.dev account, Pipedream securely stores the keys so you can easily authenticate to cvr.dev APIs in both code and no-code steps.
Sign in and copy your API key directly from your profile.