http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13607
Martin Renvoize <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com --- Comment #4 from Martin Renvoize <[email protected]> --- Hi Robin, A much needed feature.. but I'm not 100% I agree with the implementation. I think we should really be attempting to follow restful best practice. Personally, I would: Use POST for the create operation only Use PUT for the update operation (possibly with your current implementation in here 'update or create' use DELETE for the delete operation only use GET for retrieving patron records use json (or xml) bodies to actually move the data around.. The above would bring us much more in line with the rest of the modern world. Parsing XML is hard in the browser, and such an API should be designed for maximum flexibility, i.e to be simply used in as many environments as possible.. including the browser. Anywho.. If I get the time, I might submit an alternative patch.. if not I'll go ahead and test this.. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
