[Koha-devel] Download a record with curl and Koha API

Zeno Tajoli ztajoli at gmail.com
Fri Nov 3 08:38:30 CET 2023


Hi,
I'm trying to download a record using curl and GET /biblios/{biblio_id}
With curl I try:
curl -u user:Pwd --request GET
'http://127.0.0.1:8080/api/v1/biblios/xxxx' --header "Content-Type:
application/json"
But the answer is:
["application\/json","application\/marcxml+xml","application\/marc-in-json","application\/marc","text\/plain"]
not a json with the MARC21 data.
What is the error ?

Cheers
Zeno Tajoli


More information about the Koha-devel mailing list