with Tricentis qTest and Dappier?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tricentis_qtest: {
type: "app",
app: "tricentis_qtest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.tricentis_qtest.$auth.qtest_base_uri}/api/v3/re-evaluation`,
headers: {
Authorization: `Bearer ${this.tricentis_qtest.$auth.oauth_access_token}`,
},
params: {
includeInaccessibleApps: `false`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dappier: {
type: "app",
app: "dappier",
}
},
async run({steps, $}) {
const data = {
"query": `What is an MCP server?`,
}
return await axios($, {
method: "post",
url: `https://api.dappier.com/app/aimodel/am_01j06ytn18ejftedz6dyhz2b15`,
headers: {
Authorization: `Bearer ${this.dappier.$auth.api_key}`,
},
data,
})
},
})