with Upstash Redis and Fileforge?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
upstash_redis: {
type: "app",
app: "upstash_redis",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.upstash_redis.$auth.upstash_redis_rest_url}/set/foo/bar`,
headers: {
Authorization: `Bearer ${this.upstash_redis.$auth.uptash_redis_rest_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fileforge: {
type: "app",
app: "fileforge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fileforge.com/status/`,
headers: {
"Accept": `application/json`,
"X-API-Key": `${this.fileforge.$auth.api_key}`,
},
})
},
})