Closed hellcatz closed 7 years ago
Set Content-Type: application/json HTTP headers on api requests.
Content-Type: application/json
This allows browsers to render JSON data visually when loading api data directly in browser. Example from Firefox
This may help with browser compatibility. Ref. https://github.com/z-classic/z-nomp/issues/189
Set
Content-Type: application/json
HTTP headers on api requests.This allows browsers to render JSON data visually when loading api data directly in browser. Example from Firefox![image](https://user-images.githubusercontent.com/22487711/29900894-7e6a19e2-8da9-11e7-9084-732374a65445.png)
This may help with browser compatibility. Ref. https://github.com/z-classic/z-nomp/issues/189