Next-gen tool to get things done together.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
height: {
type: "app",
app: "height",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.height.app/users/me`,
headers: {
"Authorization": `api-key ${this.height.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})