Bug 7213 - simple /svc/ HTTP example
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 10 Nov 2011 20:39:55 +0000 (21:39 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 14 May 2012 16:22:17 +0000 (18:22 +0200)
commit63bc7ebc39e656317a72f32853fc40233263e729
treed8b943174d4ce5c669f90275f3c2302d6a070eb5
parentf61a9617184ec4b24100c1d99150bfd4ebf13336
Bug 7213 - simple /svc/ HTTP example

Simple command-line client which can authorize itself to Koha,
get MARC XML record based on biblio number and update record

This script can also be used as module using require "koha-svc.pl"
from other scripts which can implement MARC XML creation or parsing.

This is follow up version which now uses Content-type: text/xml
header when using POST method to be in sync with documentation at
http://wiki.koha-community.org/wiki/Koha_/svc/_HTTP_API

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
misc/migration_tools/koha-svc.pl [new file with mode: 0755]