This intro to HTTP requests is my way of trying out different calls in Python and JS.
Python 3+, JS, HTML
First, run db.py to create the local database. Then, run server.py to begin running the server. (This server listens for HTTP calls.) Lastly, open index.html on your local computer to interact with the database.
Our HTML and Javascript communicate to the Python via fetch requests (GET / POST) The data from these requests gets processed and the output shown on the HTML page.
Made by Sam Hawkins in 2020. Check the license for more details.