diff --git a/svc/checkin b/svc/checkin index 9ba087bd4d..48fa718543 100755 --- a/svc/checkin +++ b/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'); diff --git a/svc/renew b/svc/renew index eca18e647f..67a658b070 100755 --- a/svc/renew +++ b/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');