Skip to content Skip to sidebar Skip to footer

Simple Form Submit Python

I have simple python app which gets name and phone from html form submit using post method. I have this in my index.html:

Solution 1:

The issue is that you haven't imported request. Like this:

from flask import Flask, request

Solution 2:

All variables that you put in a route you have to make sure that they are imported at the top of your flask route page.


Post a Comment for "Simple Form Submit Python"