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}`,
},
})
},
})
The Official Board uses API keys for authentication. When you connect your The Official Board account, Pipedream securely stores the keys so you can easily authenticate to The Official Board APIs in both code and no-code steps.