h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.91k stars 2k forks source link

Give a clue if someone uses a valid REST API path with a non-supported http method #13621

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

It's a recurring problem that people try to GET endpoints for which only POST or PUT or DELETE are supported. If we don't find a route but we found one with a different verb give the user a clue by returning a nice H2OError result, still with http code 404.

DinukaH2O commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-629 Assignee: Raymond Peck Reporter: Raymond Peck State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A