I am using a flask framework, and can\'t seem to delete rows from the database. The code below gives a 405 error: \"The method is not allowed for the requested URL.\" Any id
Alternatively, change POST to DELETE to get you going.
@app.route('/delete/', methods=['DELETE'])
Ideally, you should use HTTP DELETE method.