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}`,
},
})
},
})
Fileforge uses API keys for authentication. When you connect your Fileforge account, Pipedream securely stores the keys so you can easily authenticate to Fileforge APIs in both code and no-code steps.