| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Demonstrates how to post form data and process a JSON response using JavaScript. This allows making requests without navigating away from the page. Demonstrates using XMLHttpRequest, fetch, and jQuery.ajax. See the Flask docs about jQuery and Ajax.
python3 -m venv venv . venv/bin/activate pip install -e .
export FLASK_APP=js_example flask run
Open http://127.0.0.1:5000 in a browser.
pip install -e '.[test]' coverage run -m pytest coverage report
| Back | FazBrowse Home | New Git URL |