with Sign.Plus and Planhat?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sign_plus: {
type: "app",
app: "sign_plus",
}
},
async run({steps, $}) {
const data = {
"sandbox": true
}
return await axios($, {
method: "post",
url: `https://restapi.sign.plus/v2/templates`,
headers: {
Authorization: `Bearer ${this.sign_plus.$auth.api_key}`,
"content-type": `application/json`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planhat: {
type: "app",
app: "planhat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.planhat.com/users`,
headers: {
Authorization: `Bearer ${this.planhat.$auth.api_key}`,
},
})
},
})