Actions
Enhancement #25927
openCalling REST API with unsupported method returns 404 instead of 405 Bad Method
Pull Request:
UX impact:
It bothers me each time
Suggestion strength:
Want - This would make my life a lot easier but I can manage without
User visibility:
First impressions of Rudder
Effort required:
Small
Name check:
To do
Fix check:
To do
Regression:
No
Description
When calling any HTTP endpoint with the PUT
method, when the endpoint does only support POST
(or GET
, but not PUT
), the API response is a 404 Not Found with the HTML content :
<!DOCTYPE html> <html> <body>The Requested URL {URL HERE} was not found on this server</body> </html>
Instead the REST API could return the 405 Bad Method error to indicate at least to the user that the URL is right but the method is wrong
No data to display
Actions