codefornl / clarity

Clarity Case Studies
https://clarity.codefor.nl
5 stars 0 forks source link

hal json return type not parsed by browsers #1

Closed milovanderlinden closed 6 years ago

milovanderlinden commented 6 years ago

Can we please provide a fallback to application/json when a browser is used to access the api?

milovanderlinden commented 6 years ago

If the Accept header is application/hal+json return Content-Type: application/hal+json If the Accept header is application/json return Content-Type: application/json

jgroenen commented 6 years ago

For which browser doesn't this work?

jgroenen commented 6 years ago

It will now return "Content-Type:application/hal+json,application/json"