import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
customjs: {
type: "app",
app: "customjs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.app.customjs.io/core/api-key/${this.customjs.$auth.api_key}`,
headers: {
"x-api-key": `${this.customjs.$auth.api_key}`,
},
})
},
})
Converts an HTML string to a PDF document. See the documentation
Converts an HTML string to a PNG image. See the documentation
CustomJS uses API keys for authentication. When you connect your CustomJS account, Pipedream securely stores the keys so you can easily authenticate to CustomJS APIs in both code and no-code steps.