with GoFormz and PlentyONE?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
goformz: {
type: "app",
app: "goformz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.goformz.com/v2/formz`,
headers: {
Authorization: `Bearer ${this.goformz.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plentyone: {
type: "app",
app: "plentyone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://p${this.plentyone.$auth.id}.my.plentysystems.com/rest/user`,
headers: {
Authorization: `Bearer ${this.plentyone.$auth.oauth_access_token}`,
},
})
},
})