import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
offorte: {
type: "app",
app: "offorte",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.offorte.com/api/v2/${this.offorte.$auth.account_name}/hello`,
headers: {
"authorization": `${this.offorte.$auth.api_key}`,
},
})
},
})
Offorte uses API keys for authentication. When you connect your Offorte account, Pipedream securely stores the keys so you can easily authenticate to Offorte APIs in both code and no-code steps.