with pdfFiller and Cloudflare Browser Rendering?
Transforms a document into a fillable form and generates a shareable link for the form. See the documentation
Fetches rendered HTML content from provided URL or HTML. See the documentation
Enables searching capabilities for documents by name. See the documentation
Fetches rendered PDF from provided URL or HTML. See the documentation
Takes a screenshot of a webpage from provided URL or HTML. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdffiller: {
type: "app",
app: "pdffiller",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pdffiller.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.pdffiller.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudflare_browser_rendering: {
type: "app",
app: "cloudflare_browser_rendering",
}
},
async run({steps, $}) {
const data = {
"url": `https://pipedream.com?via=go`,
}
return await axios($, {
method: "post",
url: `https://api.cloudflare.com/client/v4/accounts/${this.cloudflare_browser_rendering.$auth.account_id}/browser-rendering/content`,
headers: {
Authorization: `Bearer ${this.cloudflare_browser_rendering.$auth.api_token}`,
"content-type": `application/json`,
},
data,
})
},
})