Skip to content

samtheteasipper/Python-HTTP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction:

This intro to HTTP requests is my way of trying out different calls in Python and JS.

Python 3+, JS, HTML

🔌 Example Usage:

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.

Success! ✅

Credits

Made by Sam Hawkins in 2020. Check the license for more details.

About

Basic server in Python + JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published