Form.io is a platform that enables you to build web and mobile applications. Create both the forms and the RESTful API's all in one easy step!
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
form_io: {
type: "app",
app: "form_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.form_io.$auth.project_id}.form.io/${this.form_io.$auth.form_name}`,
headers: {
"x-token": `${this.form_io.$auth.api_key}`,
},
})
},
})
Form.io uses API keys for authentication. When you connect your Form.io account, Pipedream securely stores the keys so you can easily authenticate to Form.io APIs in both code and no-code steps.
To retrieve your API credentials,
Now, to get Project ID and API Key,
1234
if your Live Endpoint is https://1234.form.io
Finally, to get your Form Name
ABC
if your API Path is https://project.form.io/ABC