with The Official Board and Proposify?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
the_official_board: {
type: "app",
app: "the_official_board",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.theofficialboard.com/rest/test/token`,
headers: {
"accept": `application/json`,
"token": `${this.the_official_board.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proposify: {
type: "app",
app: "proposify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.proposify.com/user`,
headers: {
Authorization: `Bearer ${this.proposify.$auth.oauth_access_token}`,
},
})
},
})