This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed text/json to application/json
text/json isn't a content-type but application/json is. With this change, theJSON will be properly shown inside of browsers like Firefox that offer a cool json viewer. You can see an example of the viewer properly working for some JSON at this link: https://jsonplaceholder.typicode.com/todos/1
- Loading branch information