import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formidable_forms: {
type: "app",
app: "formidable_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.formidable_forms.$auth.url}/wp-json/frm/v2/forms`,
auth: {
username: `${this.formidable_forms.$auth.api_key}`,
password: ``,
},
})
},
})
Formidable Forms uses API keys for authentication. When you connect your Formidable Forms account, Pipedream securely stores the keys so you can easily authenticate to Formidable Forms APIs in both code and no-code steps.