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!
Add or update a single record in your Pipedream Data Store.
Add or update multiple records to your Pipedream Data Store.
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
Check if a key exists in your Pipedream Data Store or create one if it doesn't exist.
import { 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}`,
},
})
},
})
With the Data Stores API, you can build applications that:
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})