To upload the sample schema to a local gform service:
curl http://localhost:9196/gform/schemas -H "Content-Type: application/json" -d '@sample-data/schema.json'
Similarly, to upload a form template:
curl http://localhost:9196/gform/formtemplates -H "Content-Type: application/json" -d '@sample-data/template.json'
View data with, for example:
curl http://localhost:9196/gform/schemas
curl http://localhost:9196/gform/formtemplates
This code is open source software licensed under the Apache 2.0 License.