https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30256 Bug ID: 30256 Summary: PUT /patrons/42 returns 201 instead of 200 Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart+koha@gmail.com CC: tomascohen@gmail.com https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT """ If the target resource does not have a current representation and the PUT request successfully creates one, then the origin server must inform the user agent by sending a 201 (Created) response. If the target resource does have a current representation and that representation is successfully modified in accordance with the state of the enclosed representation, then the origin server must send either a 200 (OK) or a 204 (No Content) response to indicate successful completion of the request. """ We are returning 200, at least for /patrons -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.