with Murf and TestRail?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
murf: {
type: "app",
app: "murf",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.murf.ai/v1/speech/voices`,
headers: {
"api-key": `${this.murf.$auth.api_key}`,
"token": `${this.murf.$auth.token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
testrail: {
type: "app",
app: "testrail",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.testrail.$auth.api_url}/index.php?/api/v2/get_users`,
headers: {
"accept": `application/json`,
},
auth: {
username: `${this.testrail.$auth.username}`,
password: `${this.testrail.$auth.api_key}`,
},
})
},
})