Keep getting HTTP 405 Method Not Allowed error when trying to POST form data with Flask

Solution
@app.route("/add_recipe", methods =['GET', 'POST'])