xiaohutai / jsonapi

[Bolt Extension] JSON API for Bolt CMS
https://market.bolt.cm/view/bolt/jsonapi
MIT License
55 stars 18 forks source link

Set correct response header for `menu` and `taxonomy` #87

Closed xiaohutai closed 6 years ago

xiaohutai commented 6 years ago

Since these two actions are not JSON API (e.g. application/vnd.api+json), we set them to application/json for now. The problem is that responses need to be written which will cause a bigger break. This is in a separate pull request #86 and for a newer version later.