Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ledorub/form-creator-server
An app for creating simple forms
https://github.com/ledorub/form-creator-server
django heroku jsonrpc
Last synced: about 1 month ago
JSON representation
An app for creating simple forms
- Host: GitHub
- URL: https://github.com/ledorub/form-creator-server
- Owner: Ledorub
- Created: 2022-05-12T23:59:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-17T17:48:37.000Z (over 2 years ago)
- Last Synced: 2024-04-22T22:36:58.464Z (7 months ago)
- Topics: django, heroku, jsonrpc
- Language: Python
- Homepage:
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# form-creator-server
An app for creating simple forms.
Endpoints:
- `/` - home page;
- `form-creator/create/` - create new form here;
- `form-creator/data//` - show submitted data for a form with given UID.JSON RPC endpoints:
- `api/form/`
- `get_form` - returns empty form with provided UIDRequest example:
{
"jsonrpc": "2.0",
"id": "0",
"method": "get_form",
"params": {
"form_uid": "9244cba0-8f67-463e-b9ce-2b07ddbbf950"
}
}- `post_form` - submit a form
Request example:
{
"jsonrpc": "2.0",
"id": "0",
"method": "post_form",
"params": {
"form_uid": "9244cba0-8f67-463e-b9ce-2b07ddbbf950",
"form_data": {
"s1": "2",
"s2": "a"
}
}
}
- `get_form_data` - get submitted data for given form
Request example:
{
"jsonrpc": "2.0",
"id": "0",
"method": "get_form_data",
"params": {
"form_uid": "4ae41c41-98ae-4107-bc76-c519fd9ace27"
}
}