Return JSON responses in auth, token and micropub API
authorChristian Weiske <cweiske@cweiske.de>
Mon, 23 Apr 2018 14:25:04 +0000 (16:25 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 23 Apr 2018 14:25:45 +0000 (16:25 +0200)
commit6c7675f8f675d5a2ca5f863d95b3c1d881f9af3f
tree763dd7c96354fad5fad236810b235821deaec3d3
parent51a214f88973e888787fc8c7848ae8f6b8e9d57c
Return JSON responses in auth, token and micropub API

The IndieAuth spec wants that now.
Previously, it allowed both x-www-form-urlencoded and application/json.
Now this is not true anymore, because aaronpk wanted IndieAuth to be
"a proper OAuth2 extension".

Resolves: https://github.com/cweiske/anoweco/issues/9
www/auth.php
www/micropub.php
www/token.php