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.fisc...@bsz-bw.de
        QA Contact: testo...@bugs.koha-community.org
                CC: tade...@sosnierz.com, tomasco...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to