Python Flask and API

by: Husos, 8 years ago


Hi, i'm currently working on learning Python with Flask... So right now i'm okay with Flask and I have an API script working for weather on console. But what i want it's the user can make a search from the form and the api can print the information on the website.

How can i "replace" Python (input) to my basic HTML form?

Thanks to anyone who can give me hint or help...
-HuS





You must be logged in to post. Please login or register an account.



I am not 100% certain this is what you're looking for, but look into jquery: https://pythonprogramming.net/jquery-flask-tutorial/

-Harrison 8 years ago

You must be logged in to post. Please login or register an account.