https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24908 --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 101029 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101029&action=edit Bug 24908: Add text-formatted MARC support in /biblios/{biblio_id} This patch makes the route support requesting (through the Accept header) the MARC record to be output as formatted text as in $record->as_formatted. To test: 1. Apply the unit tests patch 2. Run: $ kshell k$ prove t/db_dependent/api/v1/biblios.t => FAIL: Tests fail 3. Apply this patch 4. Repeat 2 => SUCCESS: Tests pass! 5. Try the route with your favourite API testing tool (Postman?) => SUCCESS: Accept: text/plain returns the expected results => SUCCESS: Wrong Accept header returns a list of valid formats, and includes 'text/plain'. 6. Sign off :-D -- You are receiving this mail because: You are watching all bug changes.