with Specific and Mumble?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
specific: {
type: "app",
app: "specific",
}
},
async run({steps, $}) {
const data = {"query": "query { companies { id name } }"}
return await axios($, {
method: "post",
url: `https://public-api.specific.app/graphql`,
headers: {
"Authorization": `${this.specific.$auth.api_key}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mumble: {
type: "app",
app: "mumble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mumble.co.il/mumbleapi/get-labels`,
headers: {
"mumble-api-key": `${this.mumble.$auth.api_key}`,
},
})
},
})