with ngrok and Ringg AI?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ngrok: {
type: "app",
app: "ngrok",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ngrok.com/api_keys`,
headers: {
Authorization: `Bearer ${this.ngrok.$auth.api_key}`,
"ngrok-version": `2`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ringg_ai: {
type: "app",
app: "ringg_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://prod-api.ringg.ai/ca/api/v0/workspace`,
headers: {
"x-api-key": `${this.ringg_ai.$auth.api_key}`,
},
})
},
})