with Apex and Spider?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apex: {
type: "app",
app: "apex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apex-backend-435707161213.us-west1.run.app/apex/list`,
headers: {
Authorization: `Bearer ${this.apex.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
spider: {
type: "app",
app: "spider",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.spider.cloud/data/profile`,
headers: {
Authorization: `Bearer ${this.spider.$auth.api_key}`,
},
})
},
})