with Backendless and pdforge?
Backendless is a visual app development platform that allows developers to create mobile and web apps without needing to manage the backend infrastructure. It offers features like database management, user authentication, real-time data, and serverless hosting. With the Backendless API on Pipedream, you can automate workflows, sync data across apps, process data triggers, and handle user actions in real-time. It's perfect for extending app capabilities, integrating with third-party services, and automating repetitive tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
backendless: {
type: "app",
app: "backendless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.backendless.$auth.subdomain}.backendless.app/api/users/${this.backendless.$auth.oauth_uid}`,
headers: {
Authorization: `Bearer ${this.backendless.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
"user-token": `${this.backendless.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdforge: {
type: "app",
app: "pdforge",
}
},
async run({steps, $}) {
const data = {
"templateId": `${this.pdforge.$auth.template_id}`,
"data": `john@fabrikam.com`,
}
return await axios($, {
method: "post",
url: `https://api.pdforge.com/v1/pdf/sync`,
headers: {
Authorization: `Bearer ${this.pdforge.$auth.api_key}`,
},
data,
})
},
})