import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
api_labz: {
type: "app",
app: "api_labz",
}
},
async run({steps, $}) {
const data = {
"query": `pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://hub.apilabz.com/module/617`,
headers: {
Authorization: `Bearer ${this.api_labz.$auth.api_token}`,
},
data,
})
},
})
API Labz uses API keys for authentication. When you connect your API Labz account, Pipedream securely stores the keys so you can easily authenticate to API Labz APIs in both code and no-code steps.