[Bug 39983] New: Return 405 (Method not allowed) when a route is called with the wrong method
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39983 Bug ID: 39983 Summary: Return 405 (Method not allowed) when a route is called with the wrong method Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: tadeusz@sosnierz.com, tomascohen@gmail.com We just did a bit of debugging and the problem turned out to be that the wrong method was used (GET vs. POST) and this resulted in a 404. It might be a nice improvement if we returned 405 instead to give a better clue about the error. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org