Facing Method not allowed 405

  Kiến thức lập trình

I am creating a website to predict Wine Quality Prediction as a project, i have created my own api using Flask frame in pycharm and website in HTML and CSS and connected through both using javascript
and whenever i click the predict button after putting the values it does not show me anything.

By Inspecting the webpage, in Console it shows me this : Failed to load resource: the server responded with a status of 405 (Method Not Allowed). Basically my api takes the input value from the user and by using train_test_split method and RandomForrestClassifier it predicts the quality of the Wine

New contributor

Yatharth Parmar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.