import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf4me: {
type: "app",
app: "pdf4me",
}
},
async run({steps, $}) {
const data = {
"webUrl": `https://www.pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.pdf4me.com/api/v2/ConvertUrlToPdf`,
headers: {
"authorization": `${this.pdf4me.$auth.api_key}`,
},
data,
})
},
})
Convert a document (e.g., DOCX, XLSX, PPTX) to PDF. See the documentation
Merge multiple PDF files into a single PDF. See the documentation
PDF4me uses API keys for authentication. When you connect your PDF4me account, Pipedream securely stores the keys so you can easily authenticate to PDF4me APIs in both code and no-code steps.