@@ -, +, @@ --- svc/checkin | 2 +- svc/renew | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/svc/checkin +++ a/svc/checkin @@ -41,7 +41,7 @@ if ( $auth_status ne "ok" || $op ne "cud-checkin" ) { } binmode STDOUT, ":encoding(UTF-8)"; -print $input->header( -type => 'text/plain', -charset => 'UTF-8' ); +print $input->header( -type => 'application/json', -charset => 'UTF-8' ); my $itemnumber = $input->param('itemnumber'); my $borrowernumber = $input->param('borrowernumber'); --- a/svc/renew +++ a/svc/renew @@ -40,7 +40,7 @@ if ( $auth_status ne "ok" ) { } binmode STDOUT, ":encoding(UTF-8)"; -print $input->header( -type => 'text/plain', -charset => 'UTF-8' ); +print $input->header( -type => 'application/json', -charset => 'UTF-8' ); my $itemnumber = $input->param('itemnumber'); my $borrowernumber = $input->param('borrowernumber'); --