with Halo Service Solutions and ConfigCat?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
halo_service_solutions: {
type: "app",
app: "halo_service_solutions",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.halo_service_solutions.$auth.resource_server}/users`,
headers: {
Authorization: `Bearer ${this.halo_service_solutions.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
configcat: {
type: "app",
app: "configcat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.configcat.com/v1/products`,
headers: {
"accept": `application/json`,
},
auth: {
username: `${this.configcat.$auth.auth_username}`,
password: `${this.configcat.$auth.auth_password}`,
},
})
},
})