Bug 24238

Summary: GET /biblios does not default to accept:application/json
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: REST APIAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low CC: tomascohen
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 23677    
Bug Blocks:    

Description Jonathan Druart 2019-12-13 12:57:06 UTC
The accept header value has to be set, it does not default to application/json like the other routes.
Comment 1 Tomás Cohen Arazi (tcohen) 2019-12-18 13:34:47 UTC
I've been thinking o trying to make the default be HTML using the current TT for detailed view. That's why I left it like that. Otherwise people would start using it without setting the Accept header and it would be a breaking change. But you are right the other ones don't require.
Comment 2 Tomás Cohen Arazi (tcohen) 2020-03-18 18:33:15 UTC

*** This bug has been marked as a duplicate of bug 24237 ***