You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use these post updates to make changes in the data. Editing a user profile might be the easiest first example.
Also, IMPORTANT, find ways to make routine POST calls occur at some interval without forms involved, possibly tied to AJAX calls. This is how we will store game state data (per each instance too) [I may need help on AJAX stuff]
The text was updated successfully, but these errors were encountered:
Making myself an issue so I have a place to keep references
Using this lib as reference
https://github.com/srackham/bottle-mongodb-example
Craft a POST call similar to:
https://github.com/srackham/bottle-mongodb-example/blob/master/controllers.py
Line 34:
@post('/create')
def create():
Create form(s) that call the POST function
https://github.com/srackham/bottle-mongodb-example/blob/master/views/list.mako
<%def name="create_form()">
Use these post updates to make changes in the data. Editing a user profile might be the easiest first example.
Also, IMPORTANT, find ways to make routine POST calls occur at some interval without forms involved, possibly tied to AJAX calls. This is how we will store game state data (per each instance too) [I may need help on AJAX stuff]
The text was updated successfully, but these errors were encountered: