Closed sschepens closed 9 years ago
We should have a JSON parser Plug because Plug doesn't have one and sending content-type: application/json makes sugar reply a 500
Good idea. I can add this to list of new stuff to work on, but if you're feeling up to it, feel free to send a PR to sugar-framework/plugs.
Done hope its useful :)
We should have a JSON parser Plug because Plug doesn't have one and sending content-type: application/json makes sugar reply a 500