Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialize data as JSON with
Accept: application/json
Similar to NixOS#607. According to the Catalyst[1] docs it's possible to specify a data structure that is supposed to be serialized when requesting i.e. a JSON response. [1] https://metacpan.org/pod/Catalyst::Controller::REST#status_ok
- Loading branch information