...
Using the table setup described here, additional Routes can be added to the GlobalForms configuration to expose the data to any forms that might need it. Refer here for more information on setup of Routes for GlobalForms. Note that any changes will require a restart of the GlobalForms server service.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "method": "get", "endpoint": "/makes", "query": "SELECT distinct make FROM [Vehicles];" }, { "method": "get", "endpoint": "/makes/:make", "query": "SELECT model FROM [Vehicles] where make = '{{ params.make }}';" } |
...