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